MCPcopy Index your code
hub / github.com/python/cpython / test_posixsubprocess

Function test_posixsubprocess

Lib/test/audit-tests.py:331–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329
330
331def test_posixsubprocess():
332 import multiprocessing.util
333
334 exe = b"xxx"
335 args = [b"yyy", b"zzz"]
336 with TestHook() as hook:
337 multiprocessing.util.spawnv_passfds(exe, args, ())
338 assert ("_posixsubprocess.fork_exec", ([exe], args, None)) in hook.seen
339
340
341def test_excepthook():

Callers

nothing calls this directly

Calls 1

TestHookClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…