(self, session: Session)
| 804 | |
| 805 | @hookimpl(wrapper=True) |
| 806 | def pytest_runtestloop(self, session: Session) -> Generator[None, object, object]: |
| 807 | if session.config.option.collectonly: |
| 808 | return (yield) |
| 809 | |
| 810 | if self._log_cli_enabled() and self._config.get_verbosity() < 1: |
| 811 | # The verbose flag is needed to avoid messy test progress output. |
| 812 | self._config.option.verbose = 1 |
| 813 | |
| 814 | with catching_logs(self.log_cli_handler, level=self.log_cli_level): |
| 815 | with catching_logs(self.log_file_handler, level=self.log_file_level): |
| 816 | return (yield) # Run all the tests. |
| 817 | |
| 818 | @hookimpl |
| 819 | def pytest_runtest_logstart(self) -> None: |
no test coverage detected