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

Function pytest_runtest_protocol

src/_pytest/runner.py:115–120  ·  view source on GitHub ↗
(item: Item, nextitem: Item | None)

Source from the content-addressed store, hash-verified

113
114
115def pytest_runtest_protocol(item: Item, nextitem: Item | None) -> bool:
116 ihook = item.ihook
117 ihook.pytest_runtest_logstart(nodeid=item.nodeid, location=item.location)
118 runtestprotocol(item, nextitem=nextitem)
119 ihook.pytest_runtest_logfinish(nodeid=item.nodeid, location=item.location)
120 return True
121
122
123def runtestprotocol(

Callers

nothing calls this directly

Calls 3

runtestprotocolFunction · 0.85

Tested by

no test coverage detected