From 8fd107f8eae5e9a7ecc2a164bd6b8bcb24c9b48e Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 6 Feb 2010 23:06:24 +0000 Subject: [PATCH] Add missing imports. --- Lib/test/test_gl.py | 1 + Lib/test/test_imageop.py | 1 + 2 files changed, 2 insertions(+) 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: -- 2.40.0