(self, item: nodes.Item)
| 850 | |
| 851 | @hookimpl(wrapper=True) |
| 852 | def pytest_runtest_setup(self, item: nodes.Item) -> Generator[None]: |
| 853 | self.log_cli_handler.set_when("setup") |
| 854 | |
| 855 | empty: dict[str, list[logging.LogRecord]] = {} |
| 856 | item.stash[caplog_records_key] = empty |
| 857 | with self._runtest_for(item, "setup"): |
| 858 | yield |
| 859 | |
| 860 | @hookimpl(wrapper=True) |
| 861 | def pytest_runtest_call(self, item: nodes.Item) -> Generator[None]: |