MCPcopy
hub / github.com/pytest-dev/pytest / pytest_unconfigure

Method pytest_unconfigure

src/_pytest/logging.py:891–894  ·  src/_pytest/logging.py::LoggingPlugin.pytest_unconfigure
(self)

Source from the content-addressed store, hash-verified

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
897class _FileHandler(logging.FileHandler):

Callers 1

_ensure_unconfigureMethod · 0.45

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected