mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +03:00
Removed unnecessary parameter
This commit is contained in:
parent
0b9d378d17
commit
803cdf068f
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user