Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ istestfunc
Function
istestfunc
src/_pytest/mark/structures.py:42–43 ·
view source on GitHub ↗
(func)
Source
from the content-addressed store, hash-verified
40
41
42
def
istestfunc(func) -> bool:
43
return
callable(func) and getattr(func,
"__name__"
,
"<lambda>"
) !=
"<lambda>"
44
45
46
def
get_empty_parameterset_mark(
Callers
1
__call__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected