summaryrefslogtreecommitdiff
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-03-26 20:48:25 +0000
committerBenjamin Peterson <benjamin@python.org>2009-03-26 20:48:25 +0000
commit888a39b54c4f47ee25d53b157e2c50402627cd0b (patch)
tree67a48f107d83b8451e338f1ea822f2b4c65f6960 /Lib/test/regrtest.py
parent21f6aac633a78271e762d6cd4b709e6a91d0c42a (diff)
downloadcpython-git-888a39b54c4f47ee25d53b157e2c50402627cd0b.tar.gz
remove test_support.TestSkipped and just use unittest.SkipTest
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 955e551e58..9f480a3d49 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -132,6 +132,7 @@ import sys
import time
import traceback
import warnings
+import unittest
# I see no other way to suppress these warnings;
# putting them in test_grammar.py has no effect:
@@ -567,7 +568,7 @@ def runtest_inner(test, verbose, quiet, test_times,
print test, "skipped --", msg
sys.stdout.flush()
return -2
- except (ImportError, test_support.TestSkipped), msg:
+ except (ImportError, unittest.SkipTest), msg:
if not quiet:
print test, "skipped --", msg
sys.stdout.flush()