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

Method pytest_runtest_setup

src/_pytest/capture.py:893–895  ·  view source on GitHub ↗
(self, item: Item)

Source from the content-addressed store, hash-verified

891
892 @hookimpl(wrapper=True)
893 def pytest_runtest_setup(self, item: Item) -> Generator[None]:
894 with self.item_capture("setup", item):
895 return (yield)
896
897 @hookimpl(wrapper=True)
898 def pytest_runtest_call(self, item: Item) -> Generator[None]:

Callers

nothing calls this directly

Calls 1

item_captureMethod · 0.95

Tested by

no test coverage detected