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

Method gethookproxy

src/_pytest/python.py:684–686  ·  view source on GitHub ↗
(self, fspath: "os.PathLike[str]")

Source from the content-addressed store, hash-verified

682 self.addfinalizer(func)
683
684 def gethookproxy(self, fspath: "os.PathLike[str]"):
685 warnings.warn(FSCOLLECTOR_GETHOOKPROXY_ISINITPATH, stacklevel=2)
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)

Callers 3

pytest_collect_fileFunction · 0.45
_recurseMethod · 0.45
_collectfileMethod · 0.45

Calls 1

warnMethod · 0.45

Tested by

no test coverage detected