Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ test_overrides
Function
test_overrides
tests/envcontext_test.py:32–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
31
32
def
test_overrides():
33
_test(
34
before={
'foo'
:
'baz'
},
35
patch=[(
'foo'
,
'bar'
)],
36
expected={
'foo'
:
'bar'
},
37
)
38
39
40
def
test_unset_but_nothing_to_unset():
Callers
nothing calls this directly
Calls
1
_test
Function · 0.85
Tested by
no test coverage detected