Kaydet (Commit) 8fd107f8 authored tarafından Georg Brandl's avatar Georg Brandl

Add missing imports.

üst 72243506
......@@ -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:
......
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