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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fd107f8eae5e9a7ecc2a164bd6b8bcb24c9b48e;p=python Add missing imports. --- diff --git a/Lib/test/test_gl.py b/Lib/test/test_gl.py index be76041863..c9264ee6bc 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 9063b22090..56320fb897 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: