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

Class _FileHandler

src/_pytest/logging.py:753–758  ·  view source on GitHub ↗

A logging FileHandler with pytest tweaks.

Source from the content-addressed store, hash-verified

751
752
753class _FileHandler(logging.FileHandler):
754 """A logging FileHandler with pytest tweaks."""
755
756 def handleError(self, record: logging.LogRecord) -> None:
757 # Handled by LogCaptureHandler.
758 pass
759
760
761class _LiveLoggingStreamHandler(logging.StreamHandler):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected