mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +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)
|
||||
else:
|
||||
self.assertIsInstance(exception, ImportError)
|
||||
self.assertEqual(exception.message,
|
||||
"ImageGrab is Windows only")
|
||||
self.assertEqual(str(exception), "ImageGrab is Windows only")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue
Block a user