MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / getitimer

Function getitimer

tests/lib/tools/test_agent_toolset.py:850–851  ·  view source on GitHub ↗
(_which: int)

Source from the content-addressed store, hash-verified

848 tmp_path: Path, monkeypatch: pytest.MonkeyPatch, error: type[Exception]
849) -> None:
850 def getitimer(_which: int) -> None:
851 raise error
852
853 (tmp_path / "x.txt").write_text("beta\n")
854 monkeypatch.setattr("shutil.which", lambda _name: None) # type: ignore[arg-type]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected