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

Method pytest_runtest_call

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

Source from the content-addressed store, hash-verified

719
720 @hookimpl(hookwrapper=True)
721 def pytest_runtest_call(self, item: nodes.Item) -> Generator[None, None, None]:
722 self.log_cli_handler.set_when("call")
723
724 yield from self._runtest_for(item, "call")
725
726 @hookimpl(hookwrapper=True)
727 def pytest_runtest_teardown(self, item: nodes.Item) -> Generator[None, None, None]:

Callers 1

Calls 2

_runtest_forMethod · 0.95
set_whenMethod · 0.45

Tested by 1