remove test_support.TestSkipped and just use unittest.SkipTest

This commit is contained in:
Benjamin Peterson 2009-03-26 20:48:25 +00:00
parent 21f6aac633
commit 888a39b54c
44 changed files with 99 additions and 108 deletions

View file

@ -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()