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

Method _pyfuncitem

src/_pytest/python.py:1712–1714  ·  view source on GitHub ↗

(compatonly) for code expecting pytest-2.2 style request objects.

(self)

Source from the content-addressed store, hash-verified

1710
1711 @property
1712 def _pyfuncitem(self):
1713 """(compatonly) for code expecting pytest-2.2 style request objects."""
1714 return self
1715
1716 def runtest(self) -> None:
1717 """Execute the underlying test function."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected