From: Benjamin Peterson Date: Tue, 2 Mar 2010 22:24:30 +0000 (+0000) Subject: use test_main() in __main__ section X-Git-Tag: v2.7a4~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4d90c23a33615c13dbc6c0748ca8945c816fcc0;p=python use test_main() in __main__ section --- diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index 7b81fc1186..95af197c2f 100644 --- a/Lib/test/test_argparse.py +++ b/Lib/test/test_argparse.py @@ -4207,4 +4207,4 @@ def test_main(): if __name__ == '__main__': - unittest.main() + test_main()