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

Function _kill_python_and_exit_code

Lib/test/test_cmd_line.py:29–32  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

27
28# XXX (ncoghlan): Move to script_helper and make consistent with run_python
29def _kill_python_and_exit_code(p):
30 data = kill_python(p)
31 returncode = p.wait()
32 return data, returncode
33
34
35class CmdLineTest(unittest.TestCase):

Callers 1

test_unbuffered_inputMethod · 0.85

Calls 2

kill_pythonFunction · 0.90
waitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…