MCPcopy Index your code
hub / github.com/RustPython/RustPython / drain_queue

Function drain_queue

Lib/test/_test_venv_multiprocessing.py:9–11  ·  view source on GitHub ↗
(queue, code)

Source from the content-addressed store, hash-verified

7
8
9def drain_queue(queue, code):
10 if code != queue.get():
11 sys.exit(1)
12
13
14def test_func():

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
exitMethod · 0.45

Tested by

no test coverage detected