diff --git a/Tests/test_file_tiff.py b/Tests/test_file_tiff.py index f676165eb..7d45419dc 100644 --- a/Tests/test_file_tiff.py +++ b/Tests/test_file_tiff.py @@ -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: