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

Class _Boom

e2e/python/test_sandbox_exec_python.py:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 sandbox: Callable[..., Sandbox],
31) -> None:
32 class _Boom:
33 def fail(self) -> None:
34 raise RuntimeError("expected-failure")
35
36 with sandbox(delete_on_exit=True) as sb:
37 result = sb.exec_python(_Boom().fail, timeout_seconds=20)

Calls

no outgoing calls