From: R. David Murray Date: Tue, 31 Mar 2009 19:49:15 +0000 (+0000) Subject: Remove the regrtest check that turns any ImportError into a skipped test. X-Git-Tag: v2.7a1~1682 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=612f1d5f48d609b4a1b0afd4d64499ff4e5f629d;p=python Remove the regrtest check that turns any ImportError into a skipped test. Hopefully all modules whose imports legitimately result in a skipped test have been properly wrapped by the previous commits. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 3fa4838a27..29f84fa3dd 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -580,7 +580,7 @@ def runtest_inner(test, verbose, quiet, test_times, print test, "skipped --", msg sys.stdout.flush() return -2 - except (ImportError, unittest.SkipTest), msg: + except unittest.SkipTest, msg: if not quiet: print test, "skipped --", msg sys.stdout.flush()