summaryrefslogtreecommitdiff
path: root/Lib/test/test_commands.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/test_commands.py
parent21f6aac633a78271e762d6cd4b709e6a91d0c42a (diff)
downloadcpython-git-888a39b54c4f47ee25d53b157e2c50402627cd0b.tar.gz
remove test_support.TestSkipped and just use unittest.SkipTest
Diffstat (limited to 'Lib/test/test_commands.py')
-rw-r--r--Lib/test/test_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py
index d899d6699e..530d9e3913 100644
--- a/Lib/test/test_commands.py
+++ b/Lib/test/test_commands.py
@@ -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):