summaryrefslogtreecommitdiff
path: root/Lib/test/test_wait3.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_wait3.py')
-rw-r--r--Lib/test/test_wait3.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/test/test_wait3.py b/Lib/test/test_wait3.py
index 4cca441853..786e60b327 100644
--- a/Lib/test/test_wait3.py
+++ b/Lib/test/test_wait3.py
@@ -3,18 +3,19 @@
import os
import time
+import unittest
from test.fork_wait import ForkWait
-from test.support import TestSkipped, run_unittest, reap_children
+from test.support import run_unittest, reap_children
try:
os.fork
except AttributeError:
- raise TestSkipped("os.fork not defined -- skipping test_wait3")
+ raise unittest.SkipTest("os.fork not defined -- skipping test_wait3")
try:
os.wait3
except AttributeError:
- raise TestSkipped("os.wait3 not defined -- skipping test_wait3")
+ raise unittest.SkipTest("os.wait3 not defined -- skipping test_wait3")
class Wait3Test(ForkWait):
def wait_impl(self, cpid):