Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ getimfunc
Function
getimfunc
src/_pytest/compat.py:229–233 ·
view source on GitHub ↗
(func)
Source
from the content-addressed store, hash-verified
227
228
229
def
getimfunc(func):
230
try
:
231
return
func.__func__
232
except
AttributeError:
233
return
func
234
235
236
def
safe_getattr(object: Any, name: str, default: Any) -> Any:
Callers
3
xunit_setup_class_fixture
Method · 0.90
function
Method · 0.90
resolve_fixture_function
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected