From: Georg Brandl Date: Sat, 6 Feb 2010 23:06:24 +0000 (+0000) Subject: Add missing imports. X-Git-Tag: v2.7a4~255 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8fd107f8eae5e9a7ecc2a164bd6b8bcb24c9b48e;p=thirdparty%2FPython%2Fcpython.git Add missing imports. --- diff --git a/Lib/test/test_gl.py b/Lib/test/test_gl.py index be7604186375..c9264ee6bcb8 100755 --- a/Lib/test/test_gl.py +++ b/Lib/test/test_gl.py @@ -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') diff --git a/Lib/test/test_imageop.py b/Lib/test/test_imageop.py index 9063b22090e3..56320fb8973f 100755 --- a/Lib/test/test_imageop.py +++ b/Lib/test/test_imageop.py @@ -180,6 +180,7 @@ def getimage(name): """return a tuple consisting of image (in 'imgfile' format) width and height """ + import imgfile try: sizes = imgfile.getsizes(name) except imgfile.error: