Another Python 3 fix

This commit is contained in:
Hugo 2014-09-16 17:19:15 +03:00
parent 300a3f0e70
commit 311a0c6f68

View File

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