Commit 8fd107f8 authored by Georg Brandl's avatar Georg Brandl

Add missing imports.

parent 72243506
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
taken mostly from the documentation. taken mostly from the documentation.
Roger E. Masse Roger E. Masse
""" """
import unittest
from test.test_support import verbose, import_module from test.test_support import verbose, import_module
import time import time
gl = import_module('gl') gl = import_module('gl')
......
...@@ -180,6 +180,7 @@ def getimage(name): ...@@ -180,6 +180,7 @@ def getimage(name):
"""return a tuple consisting of """return a tuple consisting of
image (in 'imgfile' format) width and height image (in 'imgfile' format) width and height
""" """
import imgfile
try: try:
sizes = imgfile.getsizes(name) sizes = imgfile.getsizes(name)
except imgfile.error: except imgfile.error:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment