Skip to content

Commit e9ab468

Browse files
authored
Merge pull request #8648 from radarhere/png_text
2 parents 5654c86 + d626e6a commit e9ab468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/test_file_png.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ def test_textual_chunks_after_idat(self) -> None:
618618
with Image.open("Tests/images/truncated_image.png") as im:
619619
# The file is truncated
620620
with pytest.raises(OSError):
621-
im.text()
621+
im.text
622622
ImageFile.LOAD_TRUNCATED_IMAGES = True
623623
assert isinstance(im.text, dict)
624624
ImageFile.LOAD_TRUNCATED_IMAGES = False

0 commit comments

Comments
 (0)