summaryrefslogtreecommitdiff
path: root/test_wsgiref.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_wsgiref.py')
-rwxr-xr-xtest_wsgiref.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_wsgiref.py b/test_wsgiref.py
index fd31931..f939764 100755
--- a/test_wsgiref.py
+++ b/test_wsgiref.py
@@ -575,6 +575,7 @@ class HandlerTests(TestCase):
# This epilogue is needed for compatibility with the Python 2.5 regrtest module
def test_main():
+ import unittest
from test.test_support import run_suite
run_suite(
unittest.defaultTestLoader.loadTestsFromModule(sys.modules[__name__])
@@ -611,5 +612,4 @@ if __name__ == "__main__":
-
# the above lines intentionally left blank