diff options
author | pje <pje@571e12c6-e1fa-0310-aee7-ff1267fa46bd> | 2006-06-09 16:12:09 +0000 |
---|---|---|
committer | pje <pje@571e12c6-e1fa-0310-aee7-ff1267fa46bd> | 2006-06-09 16:12:09 +0000 |
commit | 1913ed1df6bcae85372a9cf69305b9d6e4e0863c (patch) | |
tree | 8acf6d2f57ef1185960dfe8f9e3f14fba5eab174 | |
parent | 041b46b5f3cf45d020e9c8493c3ccfb0c3c6d214 (diff) | |
download | wsgiref-1913ed1df6bcae85372a9cf69305b9d6e4e0863c.tar.gz |
Add testing epilogue for compatibility w/Python 2.5 stdlib test suite
git-svn-id: svn://svn.eby-sarna.com/svnroot/wsgiref@2180 571e12c6-e1fa-0310-aee7-ff1267fa46bd
-rwxr-xr-x | test_wsgiref.py | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/test_wsgiref.py b/test_wsgiref.py index ffcabe4..fd31931 100755 --- a/test_wsgiref.py +++ b/test_wsgiref.py @@ -572,3 +572,44 @@ class HandlerTests(TestCase): (stdpat%(version,sw), h.stdout.getvalue()) ) +# This epilogue is needed for compatibility with the Python 2.5 regrtest module + +def test_main(): + from test.test_support import run_suite + run_suite( + unittest.defaultTestLoader.loadTestsFromModule(sys.modules[__name__]) + ) + +if __name__ == "__main__": + test_main() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# the above lines intentionally left blank |