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

Method function

src/_pytest/python.py:1668–1670  ·  view source on GitHub ↗

Underlying python 'function' object.

(self)

Source from the content-addressed store, hash-verified

1666
1667 @property
1668 def function(self):
1669 """Underlying python 'function' object."""
1670 return getimfunc(self.obj)
1671
1672 @property
1673 def instance(self):

Callers

nothing calls this directly

Calls 1

getimfuncFunction · 0.90

Tested by

no test coverage detected