MCPcopy Index your code
hub / github.com/python/cpython / _match_path

Method _match_path

Lib/unittest/loader.py:370–372  ·  view source on GitHub ↗
(self, path, full_path, pattern)

Source from the content-addressed store, hash-verified

368 return sys.modules[name]
369
370 def _match_path(self, path, full_path, pattern):
371 # override this method to use alternative matching strategy
372 return fnmatch(path, pattern)
373
374 def _find_tests(self, start_dir, pattern, namespace=False):
375 """Used by discovery. Yields test suites it loads."""

Callers 1

_find_test_pathMethod · 0.95

Calls 1

fnmatchFunction · 0.90

Tested by

no test coverage detected