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

@ -9,7 +9,7 @@ import warnings
warnings.filterwarnings('ignore', r".*commands.getstatus.. is deprecated",
DeprecationWarning)
from test.test_support import TestSkipped, run_unittest, reap_children
from test.test_support import SkipTest, run_unittest, reap_children
from commands import *
# The module says:
@ -19,7 +19,7 @@ from commands import *
# I'll take the comment as given, and skip this suite.
if os.name != 'posix':
raise TestSkipped('Not posix; skipping test_commands')
raise SkipTest('Not posix; skipping test_commands')
class CommandTests(unittest.TestCase):