diff options
Diffstat (limited to 'Lib/test/test_distutils.py')
-rw-r--r-- | Lib/test/test_distutils.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Lib/test/test_distutils.py b/Lib/test/test_distutils.py index 90bfc70..4b40af0 100644 --- a/Lib/test/test_distutils.py +++ b/Lib/test/test_distutils.py @@ -15,16 +15,14 @@ with warnings_helper.check_warnings( import distutils.tests -def test_main(): - # used by regrtest - support.run_unittest(distutils.tests.test_suite()) - support.reap_children() - - def load_tests(*_): # used by unittest return distutils.tests.test_suite() +def tearDownModule(): + support.reap_children() + + if __name__ == "__main__": - test_main() + unittest.main() |