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: http://git.ipfire.org/?a=commitdiff_plain;h=e4d90c23a33615c13dbc6c0748ca8945c816fcc0;p=thirdparty%2FPython%2Fcpython.git use test_main() in __main__ section --- diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index 7b81fc11861e..95af197c2fc6 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()