(self)
| 889 | |
| 890 | @hookimpl |
| 891 | def pytest_unconfigure(self) -> None: |
| 892 | class="cm"># Close the FileHandler explicitly. |
| 893 | class="cm"># (logging.shutdown might have lost the weakref?!) |
| 894 | self.log_file_handler.close() |
| 895 | |
| 896 | |
| 897 | class _FileHandler(logging.FileHandler): |
no test coverage detected