Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ setUp
Method
setUp
Lib/test/test_thread.py:416–417 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
414
415
class
TestForkInThread(unittest.TestCase):
416
def
setUp(self):
417
self.read_fd, self.write_fd = os.pipe()
418
419
@support.requires_fork()
420
@threading_helper.reap_threads
Callers
nothing calls this directly
Calls
1
pipe
Method · 0.45
Tested by
no test coverage detected