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

Method gethookproxy

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

Source from the content-addressed store, hash-verified

633 return super().from_parent(parent=parent, fspath=fspath, path=path, **kw)
634
635 def gethookproxy(self, fspath: "os.PathLike[str]"):
636 warnings.warn(FSCOLLECTOR_GETHOOKPROXY_ISINITPATH, stacklevel=2)
637 return self.session.gethookproxy(fspath)
638
639 def isinitpath(self, path: Union[str, "os.PathLike[str]"]) -> bool:
640 warnings.warn(FSCOLLECTOR_GETHOOKPROXY_ISINITPATH, stacklevel=2)

Callers 1

ihookMethod · 0.45

Calls 1

warnMethod · 0.45

Tested by

no test coverage detected