summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cgitb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_cgitb.py')
-rw-r--r--Lib/test/test_cgitb.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_cgitb.py b/Lib/test/test_cgitb.py
index 2e072a9..cd0ab90 100644
--- a/Lib/test/test_cgitb.py
+++ b/Lib/test/test_cgitb.py
@@ -1,4 +1,3 @@
-from test.support import run_unittest
from test.script_helper import assert_python_failure, temp_dir
import unittest
import sys
@@ -63,8 +62,5 @@ class TestCgitb(unittest.TestCase):
self.assertNotIn('</p>', out)
-def test_main():
- run_unittest(TestCgitb)
-
if __name__ == "__main__":
- test_main()
+ unittest.main()