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