Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ test_unset_things_to_remove
Function
test_unset_things_to_remove
tests/envcontext_test.py:44–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
43
44
def
test_unset_things_to_remove():
45
_test(
46
before={
'PYTHONHOME'
:
''
},
47
patch=[(
'PYTHONHOME'
, UNSET)],
48
expected={},
49
)
50
51
52
def
test_templated_environment_variable_missing():
Callers
nothing calls this directly
Calls
1
_test
Function · 0.85
Tested by
no test coverage detected