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

Method pytest_runtest_teardown

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

Source from the content-addressed store, hash-verified

901
902 @hookimpl(wrapper=True)
903 def pytest_runtest_teardown(self, item: Item) -> Generator[None]:
904 with self.item_capture("teardown", item):
905 return (yield)
906
907 @hookimpl(tryfirst=True)
908 def pytest_keyboard_interrupt(self) -> None:

Callers

nothing calls this directly

Calls 1

item_captureMethod · 0.95

Tested by

no test coverage detected