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

Function istestfunc

src/_pytest/mark/structures.py:53–54  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

51
52
53def istestfunc(func) -> bool:
54 return callable(func) and getattr(func, "__name__", "<lambda>") != "<lambda>"
55
56
57def get_empty_parameterset_mark(

Callers 1

__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected