summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pty.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-03-26 20:48:25 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-03-26 20:48:25 (GMT)
commit888a39b54c4f47ee25d53b157e2c50402627cd0b (patch)
tree67a48f107d83b8451e338f1ea822f2b4c65f6960 /Lib/test/test_pty.py
parent21f6aac633a78271e762d6cd4b709e6a91d0c42a (diff)
downloadcpython-888a39b54c4f47ee25d53b157e2c50402627cd0b.zip
cpython-888a39b54c4f47ee25d53b157e2c50402627cd0b.tar.gz
cpython-888a39b54c4f47ee25d53b157e2c50402627cd0b.tar.bz2
remove test_support.TestSkipped and just use unittest.SkipTest
Diffstat (limited to 'Lib/test/test_pty.py')
-rw-r--r--Lib/test/test_pty.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pty.py b/Lib/test/test_pty.py
index c00244f..25a04fc 100644
--- a/Lib/test/test_pty.py
+++ b/Lib/test/test_pty.py
@@ -4,7 +4,7 @@ import pty
import os
import sys
import signal
-from test.test_support import verbose, TestSkipped, run_unittest
+from test.test_support import verbose, SkipTest, run_unittest
import unittest
TEST_STRING_1 = "I wish to buy a fish license.\n"
@@ -69,7 +69,7 @@ class PtyTest(unittest.TestCase):
debug("Got slave_fd '%d'" % slave_fd)
except OSError:
# " An optional feature could not be imported " ... ?
- raise TestSkipped, "Pseudo-terminals (seemingly) not functional."
+ raise SkipTest, "Pseudo-terminals (seemingly) not functional."
self.assertTrue(os.isatty(slave_fd), 'slave_fd is not a tty')