(self, item: nodes.Item)
| 711 | |
| 712 | @hookimpl(hookwrapper=True) |
| 713 | def pytest_runtest_setup(self, item: nodes.Item) -> Generator[None, None, None]: |
| 714 | self.log_cli_handler.set_when("setup") |
| 715 | |
| 716 | empty: Dict[str, List[logging.LogRecord]] = {} |
| 717 | item.stash[caplog_records_key] = empty |
| 718 | yield from self._runtest_for(item, "setup") |
| 719 | |
| 720 | @hookimpl(hookwrapper=True) |
| 721 | def pytest_runtest_call(self, item: nodes.Item) -> Generator[None, None, None]: |