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

Function getitimer

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

Source from the content-addressed store, hash-verified

906 tmp_path: Path, monkeypatch: pytest.MonkeyPatch, error: type[Exception]
907) -> None:
908 def getitimer(_which: int) -> None:
909 raise error
910
911 (tmp_path / "x.txt").write_text("beta\n")
912 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