mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 13:40:54 +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):
|
def test_raise_ioerror(self):
|
||||||
with pytest.raises(IOError):
|
with pytest.raises(IOError):
|
||||||
with pytest.raises(DeprecationWarning):
|
with pytest.warns(DeprecationWarning):
|
||||||
ImageFile.raise_ioerror(1)
|
ImageFile.raise_ioerror(1)
|
||||||
|
|
||||||
def test_raise_oserror(self):
|
def test_raise_oserror(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user