mirror of
https://github.com/python/cpython.git
synced 2025-11-29 06:22:10 +00:00
Revert incorrect change.
This commit is contained in:
parent
d1f52606c5
commit
5cb104d1b9
1 changed files with 6 additions and 3 deletions
|
|
@ -3,11 +3,14 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
|
import unittest
|
||||||
from test.fork_wait import ForkWait
|
from test.fork_wait import ForkWait
|
||||||
from test.test_support import run_unittest, reap_children, import_module
|
from test.test_support import run_unittest, reap_children
|
||||||
|
|
||||||
import_module('os.fork')
|
|
||||||
|
|
||||||
|
try:
|
||||||
|
os.fork
|
||||||
|
except AttributeError:
|
||||||
|
raise unittest.SkipTest, "os.fork not defined -- skipping test_fork1"
|
||||||
|
|
||||||
class ForkTest(ForkWait):
|
class ForkTest(ForkWait):
|
||||||
def wait_impl(self, cpid):
|
def wait_impl(self, cpid):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue