From 58f2efb9682691e65a9cb5d2b35ac71f19428009 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Thu, 13 Jun 2013 21:18:43 -0400 Subject: [PATCH] Move test_pep352 over to unittest.main() --- Lib/test/test_pep352.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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() -- 2.50.1