Skip to content

Commit b8769d1

Browse files
lajiyuanradarhere
andauthored
Update Tests/test_file_png.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
1 parent 6c55dff commit b8769d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/test_file_png.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ class MyStdOut:
778778
with Image.open(mystdout) as reloaded:
779779
assert_image_equal_tofile(reloaded, TEST_PNG_FILE)
780780

781-
def test_truncated_end_chunk(self):
781+
def test_truncated_end_chunk(self) -> None:
782782
with Image.open("Tests/images/truncated_end_chunk.png") as im:
783783
with pytest.raises(OSError):
784784
im.load()

0 commit comments

Comments
 (0)