Skip to content

Commit

Permalink
TST: fix test errors on Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
cgohlke committed Jul 13, 2014
1 parent 7947d0d commit 3f156ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/tests/test_backend_ps.py
Expand Up @@ -39,7 +39,7 @@ def _test_savefig_to_stringio(format='ps'):
values = [re.sub(b'%%.*?\n', b'', x) for x in values]

assert values[0] == values[1]
assert values[1] == values[2].replace('\r\n', '\n')
assert values[1] == values[2].replace(b'\r\n', b'\n')


@cleanup
Expand Down

0 comments on commit 3f156ae

Please sign in to comment.