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

Function getitimer

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

Source from the content-addressed store, hash-verified

860 tmp_path: Path, monkeypatch: pytest.MonkeyPatch, error: type[Exception]
861) -> None:
862 def getitimer(_which: int) -> None:
863 raise error
864
865 (tmp_path / "x.txt").write_text("beta\n")
866 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