From b90f8373aaf5b2217579fa3d9f2c6dd958b785c5 Mon Sep 17 00:00:00 2001 From: Andreas Schenk <andreas_schenk@hms.harvard.edu> Date: Fri, 20 Sep 2013 11:48:43 -0400 Subject: [PATCH] changed PIL imports in test_table.py to suport pillow (PIL fork) --- modules/base/tests/test_table.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/base/tests/test_table.py b/modules/base/tests/test_table.py index 3cacb6b9f..36ea13f0f 100644 --- a/modules/base/tests/test_table.py +++ b/modules/base/tests/test_table.py @@ -34,8 +34,8 @@ except ImportError: print "Could not find matplotlib: ignoring some table class unit tests" try: - import Image - import ImageChops + from PIL import Image + from PIL import ImageChops except ImportError: HAS_PIL=False print "Could not find python imagine library: ignoring some table class unit tests" -- GitLab