summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-03-31 19:49:15 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-03-31 19:49:15 (GMT)
commit612f1d5f48d609b4a1b0afd4d64499ff4e5f629d (patch)
treeb6820f42f98854c877c28c14d3213e863c703097 /Lib/test
parentbdeacba51bfebf18164fa82cfefd59dcd5ba2498 (diff)
downloadcpython-612f1d5f48d609b4a1b0afd4d64499ff4e5f629d.zip
cpython-612f1d5f48d609b4a1b0afd4d64499ff4e5f629d.tar.gz
cpython-612f1d5f48d609b4a1b0afd4d64499ff4e5f629d.tar.bz2
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.
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 3fa4838..29f84fa 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()