Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ fnmatch
Method
fnmatch
src/_pytest/_py/path.py:64–65 ·
view source on GitHub ↗
(self, arg)
Source
from the content-addressed store, hash-verified
62
return
self.path.relto(arg)
63
64
def
fnmatch(self, arg):
65
return
self.path.fnmatch(arg)
66
67
def
endswith(self, arg):
68
return
str(self.path).endswith(arg)
Callers
8
fnmatch_ex
Function · 0.45
_matches_prefix_or_glob_option
Method · 0.45
pytest_ignore_collect
Function · 0.45
__call__
Method · 0.45
test_fnmatch_file
Method · 0.45
test_fnmatch_file_abspath
Method · 0.45
test_fnmatch_file_abspath_posix_pattern_on_win32
Method · 0.45
test_excinfo_no_sourcecode
Function · 0.45
Calls
no outgoing calls
Tested by
4
test_fnmatch_file
Method · 0.36
test_fnmatch_file_abspath
Method · 0.36
test_fnmatch_file_abspath_posix_pattern_on_win32
Method · 0.36
test_excinfo_no_sourcecode
Function · 0.36