From: Brett Cannon Date: Fri, 14 Jun 2013 01:18:43 +0000 (-0400) Subject: Move test_pep352 over to unittest.main() X-Git-Tag: v3.4.0a1~514 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58f2efb9682691e65a9cb5d2b35ac71f19428009;p=python Move test_pep352 over to unittest.main() --- diff --git a/Lib/test/test_pep352.py b/Lib/test/test_pep352.py index 558cdb56d2..98debf0839 100644 --- a/Lib/test/test_pep352.py +++ b/Lib/test/test_pep352.py @@ -180,8 +180,6 @@ class UsageTests(unittest.TestCase): # Catching a string is bad. self.catch_fails("spam") -def test_main(): - run_unittest(ExceptionClassTests, UsageTests) if __name__ == '__main__': - test_main() + unittest.main()