Skip to content

Commit

Permalink
Clean up cross-platform newline issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Prescod committed Nov 26, 2021
1 parent 6c6e5df commit 726dfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def test_image_outputs(self):
],
standalone_mode=False,
)
assert png.read_bytes().startswith(b"\x89PNG\r\n")
assert png.read_bytes().startswith(b"\x89PNG"), png.read_bytes[0:10]
assert svg.read_bytes().startswith(b"<?xml"), svg.read_bytes()[0:5]
assert svg.read_bytes().startswith(b"<?xml"), svg.read_bytes()[0:5]
assert dot.read_bytes().startswith(b"/* Ge"), dot.read_bytes()[0:5]
Expand Down

0 comments on commit 726dfd8

Please sign in to comment.