MCPcopy
hub / github.com/pytest-dev/pytest / ihook

Method ihook

src/_pytest/nodes.py:228–230  ·  view source on GitHub ↗

Path-sensitive hook proxy used to call pytest hooks.

(self)

Source from the content-addressed store, hash-verified

226
227 @property
228 def ihook(self) -> pluggy.HookRelay:
229 """Path-sensitive hook proxy used to call pytest hooks."""
230 return self.session.gethookproxy(self.path)
231
232 def __repr__(self) -> str:
233 return "<{} {}>".format(self.__class__.__name__, getattr(self, "name", None))

Callers

nothing calls this directly

Calls 1

gethookproxyMethod · 0.80

Tested by

no test coverage detected