Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 12, 2024
1 parent 8326ec5 commit 6186057
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tests/test_file_png.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ class MyStdOut:
mystdout = mystdout.buffer
with Image.open(mystdout) as reloaded:
assert_image_equal_tofile(reloaded, TEST_PNG_FILE)

def test_end_truncated_filed(self):
ImageFile.LOAD_TRUNCATED_IMAGES = True
try:
Expand All @@ -787,7 +787,6 @@ def test_end_truncated_filed(self):
ImageFile.LOAD_TRUNCATED_IMAGES = False



@pytest.mark.skipif(is_win32(), reason="Requires Unix or macOS")
@skip_unless_feature("zlib")
class TestTruncatedPngPLeaks(PillowLeakTestCase):
Expand Down

0 comments on commit 6186057

Please sign in to comment.