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

Class _LiveLoggingNullHandler

src/_pytest/logging.py:964–975  ·  view source on GitHub ↗

A logging handler used when live logging is disabled.

Source from the content-addressed store, hash-verified

962
963
964class _LiveLoggingNullHandler(logging.NullHandler):
965 """A logging handler used when live logging is disabled."""
966
967 def reset(self) -> None:
968 pass
969
970 def set_when(self, when: str) -> None:
971 pass
972
973 def handleError(self, record: logging.LogRecord) -> None:
974 # Handled by LogCaptureHandler.
975 pass

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected