MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / _run

Function _run

e2e/python/conftest.py:89–91  ·  view source on GitHub ↗
(sandbox: Sandbox, code: str)

Source from the content-addressed store, hash-verified

87@pytest.fixture
88def run_python() -> Callable[[Sandbox, str], tuple[int, str, str]]:
89 def _run(sandbox: Sandbox, code: str) -> tuple[int, str, str]:
90 result = sandbox.exec(["python", "-c", code], timeout_seconds=20)
91 return result.exit_code, result.stdout, result.stderr
92
93 return _run

Callers

nothing calls this directly

Calls 1

execMethod · 0.45

Tested by

no test coverage detected