(self, item: nodes.Item)
| 866 | |
| 867 | @hookimpl(wrapper=True) |
| 868 | def pytest_runtest_teardown(self, item: nodes.Item) -> Generator[None]: |
| 869 | self.log_cli_handler.set_when("teardown") |
| 870 | |
| 871 | try: |
| 872 | with self._runtest_for(item, "teardown"): |
| 873 | yield |
| 874 | finally: |
| 875 | del item.stash[caplog_records_key] |
| 876 | del item.stash[caplog_handler_key] |
| 877 | |
| 878 | @hookimpl |
| 879 | def pytest_runtest_logfinish(self) -> None: |
nothing calls this directly
no test coverage detected