Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ relto
Method
relto
src/_pytest/_py/path.py:61–62 · src/_pytest/_py/path.py::Checkers.relto
(self, arg)
Source
from the content-addressed store, hash-verified
59
return
self.path.basename.startswith(arg)
60
61
def
relto(self, arg):
62
return
self.path.relto(arg)
63
64
def
fnmatch(self, arg):
65
return
self.path.fnmatch(arg)
Callers
15
mksymlinkto
Method · 0.45
move
Method · 0.45
bestrelpath
Method · 0.45
copy
Method · 0.45
pyimport
Method · 0.45
pytest_runtest_setup
Function · 0.45
test_relto
Method · 0.45
test_relto_not_relative
Method · 0.45
test_visit_nofilter
Method · 0.45
test_visit_norecurse
Method · 0.45
test_visit_filterfunc_is_string
Method · 0.45
test_visit_endswith
Method · 0.45
Calls
no outgoing calls
Tested by
15
pytest_runtest_setup
Function · 0.36
test_relto
Method · 0.36
test_relto_not_relative
Method · 0.36
test_visit_nofilter
Method · 0.36
test_visit_norecurse
Method · 0.36
test_visit_filterfunc_is_string
Method · 0.36
test_visit_endswith
Method · 0.36
test_relto_wrong_type
Method · 0.36
test_visit_filesonly
Method · 0.36
test_visit_nodotfiles
Method · 0.36
test_visit_breadthfirst
Method · 0.36
test_visit_sort
Method · 0.36