MCPcopy Create free account
hub / github.com/pytest-dev/pytest / pytest_pyfunc_call

Function pytest_pyfunc_call

src/_pytest/hookspec.py:372–376  ·  view source on GitHub ↗

Call underlying test function. Stops at first non-None result, see :ref:`firstresult`.

(pyfuncitem: "Function")

Source from the content-addressed store, hash-verified

370
371@hookspec(firstresult=True)
372def pytest_pyfunc_call(pyfuncitem: "Function") -> Optional[object]:
373 """Call underlying test function.
374
375 Stops at first non-None result, see :ref:`firstresult`.
376 """
377
378
379def pytest_generate_tests(metafunc: "Metafunc") -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected