diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-03-30 15:30:34 +0000 |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-03-30 15:30:34 +0000 |
commit | 5cb104d1b936da539b41eddc21fa56f74909e0b6 (patch) | |
tree | cd4dc62150dd5f46c014b7d4bea0d0ab135f070e /Lib | |
parent | d1f52606c52d3b378f1028d91b304688e25f8f4b (diff) | |
download | cpython-git-5cb104d1b936da539b41eddc21fa56f74909e0b6.tar.gz |
Revert incorrect change.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_fork1.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Lib/test/test_fork1.py b/Lib/test/test_fork1.py index cfb3a71417..dfd501665c 100644 --- a/Lib/test/test_fork1.py +++ b/Lib/test/test_fork1.py @@ -3,11 +3,14 @@ import os import time +import unittest from test.fork_wait import ForkWait -from test.test_support import run_unittest, reap_children, import_module - -import_module('os.fork') +from test.test_support import run_unittest, reap_children +try: + os.fork +except AttributeError: + raise unittest.SkipTest, "os.fork not defined -- skipping test_fork1" class ForkTest(ForkWait): def wait_impl(self, cpid): |