Skip to content

Commit c881afd

Browse files
committed
Merge pull request #3249 from cgohlke/patch-1
TST: Fix test_backend_ps failures on Windows
2 parents 047c60a + 3f156ae commit c881afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_backend_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def _test_savefig_to_stringio(format='ps'):
3939
values = [re.sub(b'%%.*?\n', b'', x) for x in values]
4040

4141
assert values[0] == values[1]
42-
assert values[1] == values[2]
42+
assert values[1] == values[2].replace(b'\r\n', b'\n')
4343

4444

4545
@cleanup

0 commit comments

Comments
 (0)