We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5654c86 + d626e6a commit e9ab468Copy full SHA for e9ab468
Tests/test_file_png.py
@@ -618,7 +618,7 @@ def test_textual_chunks_after_idat(self) -> None:
618
with Image.open("Tests/images/truncated_image.png") as im:
619
# The file is truncated
620
with pytest.raises(OSError):
621
- im.text()
+ im.text
622
ImageFile.LOAD_TRUNCATED_IMAGES = True
623
assert isinstance(im.text, dict)
624
ImageFile.LOAD_TRUNCATED_IMAGES = False
0 commit comments