mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-05 16:33:42 +03:00
Yet another Python 3 fix
This commit is contained in:
parent
311a0c6f68
commit
e5a068de53
|
@ -39,8 +39,7 @@ class TestImageGrabImport(PillowTestCase):
|
||||||
self.assertIsNone(exception, None)
|
self.assertIsNone(exception, None)
|
||||||
else:
|
else:
|
||||||
self.assertIsInstance(exception, ImportError)
|
self.assertIsInstance(exception, ImportError)
|
||||||
self.assertEqual(exception.message,
|
self.assertEqual(str(exception), "ImageGrab is Windows only")
|
||||||
"ImageGrab is Windows only")
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user