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

Function clean_env

tests/lib/test_credentials.py:85–88  ·  view source on GitHub ↗
(monkeypatch: pytest.MonkeyPatch)

Source from the content-addressed store, hash-verified

83
84@pytest.fixture
85def clean_env(monkeypatch: pytest.MonkeyPatch) -> pytest.MonkeyPatch:
86 for var in _ALL_ENV:
87 monkeypatch.delenv(var, raising=False)
88 return monkeypatch
89
90
91@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected