diff options
Diffstat (limited to 'Lib/test/test_fork1.py')
-rw-r--r-- | Lib/test/test_fork1.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_fork1.py b/Lib/test/test_fork1.py index 67e30df..8804392 100644 --- a/Lib/test/test_fork1.py +++ b/Lib/test/test_fork1.py @@ -9,11 +9,12 @@ active threads survive in the child after a fork(); this is an error. """ import os, sys, time, thread +from test_support import TestSkipped try: os.fork except AttributeError: - raise ImportError, "os.fork not defined -- skipping test_fork1" + raise TestSkipped, "os.fork not defined -- skipping test_fork1" LONGSLEEP = 2 |