MCPcopy 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
42def istestfunc(func) -> bool:
43 return callable(func) and getattr(func, "__name__", "<lambda>") != "<lambda>"
44
45
46def get_empty_parameterset_mark(

Callers 1

__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected