From bd22f53c1440d108997dc76f55fc48bad332552a Mon Sep 17 00:00:00 2001 From: pje Date: Fri, 9 Jun 2006 16:38:09 +0000 Subject: Fix problem in regrtest stanza for 2.5 git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2181 571e12c6-e1fa-0310-aee7-ff1267fa46bd --- test_wsgiref.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__]) @@ -601,7 +602,6 @@ if __name__ == "__main__": - -- cgit v1.2.1