Add missing imports.
This commit is contained in:
parent
7224350656
commit
8fd107f8ea
|
@ -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')
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue