diff options
Diffstat (limited to 'Lib/test/test_cgitb.py')
-rw-r--r-- | Lib/test/test_cgitb.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Lib/test/test_cgitb.py b/Lib/test/test_cgitb.py index 2e072a9f2a..a87a4224f9 100644 --- a/Lib/test/test_cgitb.py +++ b/Lib/test/test_cgitb.py @@ -1,5 +1,5 @@ -from test.support import run_unittest -from test.script_helper import assert_python_failure, temp_dir +from test.support import temp_dir +from test.support.script_helper import assert_python_failure import unittest import sys import cgitb @@ -63,8 +63,5 @@ class TestCgitb(unittest.TestCase): self.assertNotIn('</p>', out) -def test_main(): - run_unittest(TestCgitb) - if __name__ == "__main__": - test_main() + unittest.main() |