diff options
Diffstat (limited to 'Lib/test/test_module.py')
-rw-r--r-- | Lib/test/test_module.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/test/test_module.py b/Lib/test/test_module.py index 9da3536..270ec7e 100644 --- a/Lib/test/test_module.py +++ b/Lib/test/test_module.py @@ -1,7 +1,7 @@ # Test the module type import unittest import weakref -from test.support import run_unittest, gc_collect +from test.support import gc_collect from test.script_helper import assert_python_ok import sys @@ -238,9 +238,5 @@ a = A(destroyed)""" # frozen and namespace module reprs are tested in importlib. -def test_main(): - run_unittest(ModuleTests) - - if __name__ == '__main__': - test_main() + unittest.main() |