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

Function pytest_runtest_makereport

src/_pytest/tmpdir.py:344–351  ·  view source on GitHub ↗
(
    item: Item, call
)

Source from the content-addressed store, hash-verified

342
343@hookimpl(wrapper=True, tryfirst=True)
344def pytest_runtest_makereport(
345 item: Item, call
346) -> Generator[None, TestReport, TestReport]:
347 rep = yield
348 assert rep.when is not None
349 empty: dict[str, bool] = {}
350 item.stash.setdefault(tmppath_result_key, empty)[rep.when] = rep.passed
351 return rep

Callers

nothing calls this directly

Calls 1

setdefaultMethod · 0.80

Tested by

no test coverage detected