Removed unnecessary parameter

This commit is contained in:
Andrew Murray 2017-06-03 13:34:52 +10:00
parent 0b9d378d17
commit 803cdf068f

View File

@ -38,7 +38,7 @@ class TestImageGrabImport(PillowTestCase):
# Assert # Assert
if sys.platform in ["win32", "darwin"]: if sys.platform in ["win32", "darwin"]:
self.assertIsNone(exception, None) self.assertIsNone(exception)
else: else:
self.assertIsInstance(exception, ImportError) self.assertIsInstance(exception, ImportError)
self.assertEqual(str(exception), self.assertEqual(str(exception),