MCPcopy 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
40def test_clean_on_failure_noop(in_tmpdir):
41 with clean_path_on_failure('foo'):
42 pass
43
44
45def test_clean_path_on_failure_does_nothing_when_not_raising(in_tmpdir):

Callers

nothing calls this directly

Calls 1

clean_path_on_failureFunction · 0.90

Tested by

no test coverage detected