summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-06 23:06:24 (GMT)
committerGeorg Brandl <georg@python.org>2010-02-06 23:06:24 (GMT)
commit8fd107f8eae5e9a7ecc2a164bd6b8bcb24c9b48e (patch)
tree65d7dcb11315a14530d1b84d2595c367ffe47bad /Lib/test
parent7224350656f976ea34045c4e5bb9a2d2184d450c (diff)
downloadcpython-8fd107f8eae5e9a7ecc2a164bd6b8bcb24c9b48e.zip
cpython-8fd107f8eae5e9a7ecc2a164bd6b8bcb24c9b48e.tar.gz
cpython-8fd107f8eae5e9a7ecc2a164bd6b8bcb24c9b48e.tar.bz2
Add missing imports.
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/test_gl.py1
-rwxr-xr-xLib/test/test_imageop.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_gl.py b/Lib/test/test_gl.py
index be76041..c9264ee 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 9063b22..56320fb 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: