Tighter test case

(cherry picked from commit 05b175ef88)
This commit is contained in:
Eric Soroos 2022-10-28 14:46:20 +02:00 committed by Frederick Price
parent 812b46901e
commit 5eaa850968

View File

@ -611,7 +611,7 @@ class TestFileTiffW32(PillowTestCase):
def test_oom(self, test_file):
with pytest.raises(UnidentifiedImageError):
with Image.open(test_file) as im:
im.load()
pass
# this is an mmaped file.
with Image.open("Tests/images/uint16_1_4660.tif") as im: