Commits

Jakub Wilk committed 514ce9e

tests: use ‘from PIL import Image’ instead of ‘import Image’.
According to <http://mail.python.org/pipermail/image-sig/2011-January/006650.html>; the latter won't be supported in PIL 1.2.

  • Participants
  • Parent commits 5995814

Comments (0)

Files changed (2)

-python-aalib (0.3) UNRELEASED; urgency=low
+python-aalib (0.2.1) UNRELEASED; urgency=low
 
-  * 
+  * Tests: fix compatibility with PIL ≥ 1.2.
 
- -- Jakub Wilk <jwilk@jwilk.net>  Thu, 11 Nov 2010 23:58:32 +0100
+ -- Jakub Wilk <jwilk@jwilk.net>  Thu, 10 May 2012 23:41:12 +0200
 
 python-aalib (0.2) unstable; urgency=low
 
 import urllib2
 from cStringIO import StringIO
 
-import Image
+from PIL import Image
 import aalib
 
 if os.getenv('TERM') == 'linux':