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

Method pytest_runtest_call

src/_pytest/logging.py:861–865  ·  view source on GitHub ↗
(self, item: nodes.Item)

Source from the content-addressed store, hash-verified

859
860 @hookimpl(wrapper=True)
861 def pytest_runtest_call(self, item: nodes.Item) -> Generator[None]:
862 self.log_cli_handler.set_when("call")
863
864 with self._runtest_for(item, "call"):
865 yield
866
867 @hookimpl(wrapper=True)
868 def pytest_runtest_teardown(self, item: nodes.Item) -> Generator[None]:

Callers

nothing calls this directly

Calls 2

_runtest_forMethod · 0.95
set_whenMethod · 0.45

Tested by

no test coverage detected