MCPcopy
hub / github.com/pyodide/pyodide / remove_num_threads_option

Function remove_num_threads_option

tools/pytest_wrapper.py:10–15  ·  view source on GitHub ↗

Remove -n from argument list

(args: list[str])

Source from the content-addressed store, hash-verified

8
9
10def remove_num_threads_option(args: list[str]) -> None:
11 """Remove -n <n> from argument list"""
12 for i in range(0, len(args)):
13 if args[i] == "-n":
14 del args[i : i + 2]
15 break
16
17
18def cache_dir(args: list[str]) -> None:

Callers 2

test_find_importsFunction · 0.90
pytest_wrapper.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…