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

Method function

src/_pytest/python.py:1698–1700  ·  view source on GitHub ↗

Underlying python 'function' object.

(self)

Source from the content-addressed store, hash-verified

1696
1697 @property
1698 def function(self):
1699 """Underlying python 'function' object."""
1700 return getimfunc(self.obj)
1701
1702 def _getobj(self):
1703 assert self.parent is not None

Callers

nothing calls this directly

Calls 1

getimfuncFunction · 0.90

Tested by

no test coverage detected