From bf0da6d68b407d03969fa70ccd5ea19862812b36 Mon Sep 17 00:00:00 2001 From: Frank Wierzbicki Date: Wed, 16 Jan 2013 14:09:57 -0800 Subject: [PATCH] Use unittest.main() in 3.3 and greater --- Lib/test/test_dictcomps.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Lib/test/test_dictcomps.py b/Lib/test/test_dictcomps.py index 5a19319c11a..3c8b95cf324 100644 --- a/Lib/test/test_dictcomps.py +++ b/Lib/test/test_dictcomps.py @@ -84,8 +84,5 @@ class DictComprehensionTest(unittest.TestCase): "exec") -def test_main(): - support.run_unittest(__name__) - if __name__ == "__main__": - test_main() + unittest.main()