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