From 5eaa850968cf9c0e0e0207babef00eb8b5fcc86a Mon Sep 17 00:00:00 2001 From: Eric Soroos Date: Fri, 28 Oct 2022 14:46:20 +0200 Subject: [PATCH] Tighter test case (cherry picked from commit 05b175ef88c22f5c416bc9b8d5b897dea1abbf2c) --- Tests/test_file_tiff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: