diff options
Diffstat (limited to 'Lib/test/test_wait4.py')
-rw-r--r-- | Lib/test/test_wait4.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_wait4.py b/Lib/test/test_wait4.py index 192fd94..8c6e4a3 100644 --- a/Lib/test/test_wait4.py +++ b/Lib/test/test_wait4.py @@ -4,17 +4,17 @@ import os import time 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_wait4") + raise unittest.SkipTest("os.fork not defined -- skipping test_wait4") try: os.wait4 except AttributeError: - raise TestSkipped("os.wait4 not defined -- skipping test_wait4") + raise unittest.SkipTest("os.wait4 not defined -- skipping test_wait4") class Wait4Test(ForkWait): def wait_impl(self, cpid): |