[Python-checkins] r78039 - in python/trunk/Lib/test: test_gl.py test_imageop.py

georg.brandl python-checkins at python.org
Sun Feb 7 00:06:24 CET 2010


Author: georg.brandl
Date: Sun Feb  7 00:06:24 2010
New Revision: 78039

Log:
Add missing imports.

Modified:
   python/trunk/Lib/test/test_gl.py
   python/trunk/Lib/test/test_imageop.py

Modified: python/trunk/Lib/test/test_gl.py
==============================================================================
--- python/trunk/Lib/test/test_gl.py	(original)
+++ python/trunk/Lib/test/test_gl.py	Sun Feb  7 00:06:24 2010
@@ -3,6 +3,7 @@
     taken mostly from the documentation.
     Roger E. Masse
 """
+import unittest
 from test.test_support import verbose, import_module
 import time
 gl = import_module('gl')

Modified: python/trunk/Lib/test/test_imageop.py
==============================================================================
--- python/trunk/Lib/test/test_imageop.py	(original)
+++ python/trunk/Lib/test/test_imageop.py	Sun Feb  7 00:06:24 2010
@@ -180,6 +180,7 @@
     """return a tuple consisting of
        image (in 'imgfile' format) width and height
     """
+    import imgfile
     try:
         sizes = imgfile.getsizes(name)
     except imgfile.error:


More information about the Python-checkins mailing list