Skip to content

The agent that grows with you

test(anthropic): drop the unused cache-reset fixture

kshitijk4poor6d360502c1cd
diff --git a/tests/agent/test_claude_code_version_path.py b/tests/agent/test_claude_code_version_path.py
index 7e526391034..4d3cfc47770 100644
--- a/tests/agent/test_claude_code_version_path.py
+++ b/tests/agent/test_claude_code_version_path.py
@@ -17,11 +17,6 @@ import agent.anthropic_adapter as adapter
from agent.anthropic_adapter import _CLAUDE_CODE_VERSION_FALLBACK, _detect_claude_code_version
[email protected](autouse=True)
-def _fresh_cache(monkeypatch):
- monkeypatch.setattr(adapter, "_claude_code_version_cache", None)
-
-
def _install(directory, name: str) -> str:
directory.mkdir(parents=True, exist_ok=True)
path = directory / name