mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
remove test_support.TestSkipped and just use unittest.SkipTest
This commit is contained in:
parent
21f6aac633
commit
888a39b54c
44 changed files with 99 additions and 108 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue