Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ test_clean_on_failure_noop
Function
test_clean_on_failure_noop
tests/util_test.py:40–42 ·
view source on GitHub ↗
(in_tmpdir)
Source
from the content-addressed store, hash-verified
38
39
40
def
test_clean_on_failure_noop(in_tmpdir):
41
with
clean_path_on_failure(
'foo'
):
42
pass
43
44
45
def
test_clean_path_on_failure_does_nothing_when_not_raising(in_tmpdir):
Callers
nothing calls this directly
Calls
1
clean_path_on_failure
Function · 0.90
Tested by
no test coverage detected