remove test_support.TestSkipped and just use unittest.SkipTest
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):