MCPcopy Create free account
hub / github.com/pytest-dev/pytest / pytest_unconfigure

Method pytest_unconfigure

src/_pytest/logging.py:747–750  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

745
746 @hookimpl
747 def pytest_unconfigure(self) -> None:
748 # Close the FileHandler explicitly.
749 # (logging.shutdown might have lost the weakref?!)
750 self.log_file_handler.close()
751
752
753class _FileHandler(logging.FileHandler):

Callers 1

_ensure_unconfigureMethod · 0.45

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected