summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_crashers.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_crashers.py')
-rw-r--r--Lib/test/test_crashers.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_crashers.py b/Lib/test/test_crashers.py
index 336ccbe..c630c80 100644
--- a/Lib/test/test_crashers.py
+++ b/Lib/test/test_crashers.py
@@ -30,9 +30,8 @@ class CrasherTest(unittest.TestCase):
assert_python_failure(fname)
-def test_main():
- test.support.run_unittest(CrasherTest)
+def tearDownModule():
test.support.reap_children()
if __name__ == "__main__":
- test_main()
+ unittest.main()