diff options
Diffstat (limited to 'Lib/test/test_wait3.py')
| -rw-r--r-- | Lib/test/test_wait3.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_wait3.py b/Lib/test/test_wait3.py index aa166baa40..4ec7690ac1 100644 --- a/Lib/test/test_wait3.py +++ b/Lib/test/test_wait3.py @@ -9,8 +9,8 @@ import unittest from test.fork_wait import ForkWait from test import support -if not hasattr(os, 'fork'): - raise unittest.SkipTest("os.fork not defined") +if not support.has_fork_support: + raise unittest.SkipTest("requires working os.fork()") if not hasattr(os, 'wait3'): raise unittest.SkipTest("os.wait3 not defined") |
