MCPcopy
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

mksymlinktoMethod · 0.45
moveMethod · 0.45
bestrelpathMethod · 0.45
copyMethod · 0.45
pyimportMethod · 0.45
pytest_runtest_setupFunction · 0.45
test_reltoMethod · 0.45
test_visit_nofilterMethod · 0.45
test_visit_norecurseMethod · 0.45
test_visit_endswithMethod · 0.45

Calls

no outgoing calls

Tested by 15

pytest_runtest_setupFunction · 0.36
test_reltoMethod · 0.36
test_visit_nofilterMethod · 0.36
test_visit_norecurseMethod · 0.36
test_visit_endswithMethod · 0.36
test_relto_wrong_typeMethod · 0.36
test_visit_filesonlyMethod · 0.36
test_visit_nodotfilesMethod · 0.36
test_visit_sortMethod · 0.36