From 612f1d5f48d609b4a1b0afd4d64499ff4e5f629d Mon Sep 17 00:00:00 2001 From: "R. David Murray" Date: Tue, 31 Mar 2009 19:49:15 +0000 Subject: [PATCH] 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. --- Lib/test/regrtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 3fa4838a27a..29f84fa3dd2 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()