mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-28 04:53:41 +03:00
Tighter test case
This commit is contained in:
parent
13f2c5ae14
commit
05b175ef88
|
@ -868,7 +868,7 @@ class TestFileTiff:
|
||||||
def test_oom(self, test_file):
|
def test_oom(self, test_file):
|
||||||
with pytest.raises(UnidentifiedImageError):
|
with pytest.raises(UnidentifiedImageError):
|
||||||
with Image.open(test_file) as im:
|
with Image.open(test_file) as im:
|
||||||
im.load()
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user