summaryrefslogtreecommitdiff
path: root/Lib/test/test_commands.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-03-26 21:10:30 +0000
committerBenjamin Peterson <benjamin@python.org>2009-03-26 21:10:30 +0000
commitbec087f29d7dca0aaf8f51be7d7c135e9b84e7f1 (patch)
treeb7e37c8e82279a3a58d768ec4a79fd51488521f7 /Lib/test/test_commands.py
parentad57d97596bb9466e6fce0c3dfcf436fd5c36ff9 (diff)
downloadcpython-git-bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1.tar.gz
fix incorrect auto-translation of TestSkipped -> 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 530d9e3913..36c2a63578 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 SkipTest, run_unittest, reap_children
+from test.test_support import 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 SkipTest('Not posix; skipping test_commands')
+ raise unittest.SkipTest('Not posix; skipping test_commands')
class CommandTests(unittest.TestCase):