mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-18 04:02:25 +03:00
Added test for Image fromstring NotImplementedError
This commit is contained in:
parent
2039d43d85
commit
cd114cef3f
|
@ -312,6 +312,9 @@ class TestImage(PillowTestCase):
|
||||||
# Act / Assert
|
# Act / Assert
|
||||||
self.assertRaises(NotImplementedError, lambda: im.offset(None))
|
self.assertRaises(NotImplementedError, lambda: im.offset(None))
|
||||||
|
|
||||||
|
def test_fromstring(self):
|
||||||
|
self.assertRaises(NotImplementedError, Image.fromstring)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user