diff options
author | Brett Cannon <brett@python.org> | 2013-06-12 21:25:59 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-06-12 21:25:59 -0400 |
commit | bd56c1f9e49e523c1abc8446ed19d63e2cbe0672 (patch) | |
tree | 870224fc9bbc68ca8af27de8510c06a58350c504 /Lib/test/test_faulthandler.py | |
parent | f1f7c796509b3280c0dd860ed345df665bfc4cee (diff) | |
download | cpython-bd56c1f9e49e523c1abc8446ed19d63e2cbe0672.tar.gz |
Update various test modules to use unittest.main() for test discovery
instead of manually listing tests for test.support.run_unittest().
Diffstat (limited to 'Lib/test/test_faulthandler.py')
-rw-r--r-- | Lib/test/test_faulthandler.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index c171faf230..fa14ea18ee 100644 --- a/Lib/test/test_faulthandler.py +++ b/Lib/test/test_faulthandler.py @@ -588,8 +588,5 @@ sys.exit(exitcode) self.check_register(chain=True) -def test_main(): - support.run_unittest(FaultHandlerTests) - if __name__ == "__main__": - test_main() + unittest.main() |