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

Function pytest_runtest_protocol

src/_pytest/runner.py:110–115  ·  view source on GitHub ↗
(item: Item, nextitem: Optional[Item])

Source from the content-addressed store, hash-verified

108
109
110def pytest_runtest_protocol(item: Item, nextitem: Optional[Item]) -> bool:
111 ihook = item.ihook
112 ihook.pytest_runtest_logstart(nodeid=item.nodeid, location=item.location)
113 runtestprotocol(item, nextitem=nextitem)
114 ihook.pytest_runtest_logfinish(nodeid=item.nodeid, location=item.location)
115 return True
116
117
118def runtestprotocol(

Callers

nothing calls this directly

Calls 3

runtestprotocolFunction · 0.85

Tested by

no test coverage detected