mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
Don't show own deprecation warning in test logs
This commit is contained in:
parent
f83f19788b
commit
270bc4fc60
|
@ -95,7 +95,7 @@ class TestImageFile:
|
|||
|
||||
def test_raise_ioerror(self):
|
||||
with pytest.raises(IOError):
|
||||
with pytest.raises(DeprecationWarning):
|
||||
with pytest.warns(DeprecationWarning):
|
||||
ImageFile.raise_ioerror(1)
|
||||
|
||||
def test_raise_oserror(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user