MCPcopy Create free account
hub / github.com/pytest-dev/pytest / isinitpath

Method isinitpath

src/_pytest/python.py:688–690  ·  view source on GitHub ↗
(self, path: Union[str, "os.PathLike[str]"])

Source from the content-addressed store, hash-verified

686 return self.session.gethookproxy(fspath)
687
688 def isinitpath(self, path: Union[str, "os.PathLike[str]"]) -> bool:
689 warnings.warn(FSCOLLECTOR_GETHOOKPROXY_ISINITPATH, stacklevel=2)
690 return self.session.isinitpath(path)
691
692 def _recurse(self, direntry: "os.DirEntry[str]") -> bool:
693 if direntry.name == "__pycache__":

Callers 2

pytest_collect_fileFunction · 0.45
_collectfileMethod · 0.45

Calls 1

warnMethod · 0.45

Tested by

no test coverage detected