Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ test_classifier_removes_dne
Function
test_classifier_removes_dne
tests/commands/run_test.py:1120–1122 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1118
1119
1120
def
test_classifier_removes_dne():
1121
classifier = Classifier((
'this_file_does_not_exist'
,))
1122
assert classifier.filenames == []
1123
1124
1125
def
test_classifier_normalizes_filenames_on_windows_to_forward_slashes(tmpdir):
Callers
nothing calls this directly
Calls
1
Classifier
Class · 0.90
Tested by
no test coverage detected