Commits

Anonymous committed b3447d0 Draft

Update test to try alternative PIL imports

Comments (0)

Files changed (1)

src/test_fakepil.py

 import unittest
 
 
-import Image
+try:
+    from PIL import Image  # http://www.pythonware.com/products/pil/
+except ImportError:
+    import Image  # http://www.pythonware.com/products/pil/
+
 
 try:
     import fakepil