mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Another Python 3 fix
This commit is contained in:
parent
300a3f0e70
commit
311a0c6f68
|
@ -31,8 +31,8 @@ class TestImageGrabImport(PillowTestCase):
|
|||
try:
|
||||
from PIL import ImageGrab
|
||||
ImageGrab.__name__ # dummy to prevent Pyflakes warning
|
||||
except Exception as exception:
|
||||
pass
|
||||
except Exception as e:
|
||||
exception = e
|
||||
|
||||
# Assert
|
||||
if sys.platform == 'win32':
|
||||
|
|
Loading…
Reference in New Issue
Block a user