We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f83f197 commit 270bc4fCopy full SHA for 270bc4f
1 file changed
Tests/test_imagefile.py
@@ -95,7 +95,7 @@ def test_safeblock(self):
95
96
def test_raise_ioerror(self):
97
with pytest.raises(IOError):
98
- with pytest.raises(DeprecationWarning):
+ with pytest.warns(DeprecationWarning):
99
ImageFile.raise_ioerror(1)
100
101
def test_raise_oserror(self):
0 commit comments