Yet another Python 3 fix

This commit is contained in:
Hugo 2014-09-16 17:41:03 +03:00
parent 311a0c6f68
commit e5a068de53

View File

@ -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__':