From: Brett Cannon Date: Thu, 4 Jul 2013 22:04:20 +0000 (-0400) Subject: Remove dead code in test_exceptions. X-Git-Tag: v3.4.0a1~329 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3dfd23245be19ff95cf50fe93c428dabf2ff90e7;p=thirdparty%2FPython%2Fcpython.git Remove dead code in test_exceptions. --- diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 2f39d4b864fb..f0851bdbe2e7 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -953,8 +953,5 @@ class ImportErrorTests(unittest.TestCase): self.assertEqual(str(arg), str(exc)) -def test_main(): - run_unittest(ExceptionTests, ImportErrorTests) - if __name__ == '__main__': unittest.main()