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

Class _FileHandler

src/_pytest/logging.py:897–902  ·  view source on GitHub ↗

A logging FileHandler with pytest tweaks.

Source from the content-addressed store, hash-verified

895
896
897class _FileHandler(logging.FileHandler):
898 """A logging FileHandler with pytest tweaks."""
899
900 def handleError(self, record: logging.LogRecord) -> None:
901 # Handled by LogCaptureHandler.
902 pass
903
904
905class _LiveLoggingStreamHandler(logging_StreamHandler):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected