diff options
Diffstat (limited to 'Lib/test/test_openpty.py')
-rw-r--r-- | Lib/test/test_openpty.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_openpty.py b/Lib/test/test_openpty.py index 6471f58..d128f61 100644 --- a/Lib/test/test_openpty.py +++ b/Lib/test/test_openpty.py @@ -1,10 +1,10 @@ # Test to see if openpty works. (But don't worry if it isn't available.) import os, unittest -from test.test_support import run_unittest, TestSkipped +from test.test_support import run_unittest, SkipTest if not hasattr(os, "openpty"): - raise TestSkipped, "No openpty() available." + raise SkipTest, "No openpty() available." class OpenptyTest(unittest.TestCase): |