Skip to content

Commit b2711c3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 44e77a2 commit b2711c3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Tests/test_file_png.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ class MyStdOut:
777777
mystdout = mystdout.buffer
778778
with Image.open(mystdout) as reloaded:
779779
assert_image_equal_tofile(reloaded, TEST_PNG_FILE)
780-
780+
781781
def test_end_truncated_file(self):
782782
ImageFile.LOAD_TRUNCATED_IMAGES = True
783783
try:
@@ -787,7 +787,6 @@ def test_end_truncated_file(self):
787787
ImageFile.LOAD_TRUNCATED_IMAGES = False
788788

789789

790-
791790
@pytest.mark.skipif(is_win32(), reason="Requires Unix or macOS")
792791
@skip_unless_feature("zlib")
793792
class TestTruncatedPngPLeaks(PillowLeakTestCase):

0 commit comments

Comments
 (0)