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

Class _LiveLoggingNullHandler

src/_pytest/logging.py:820–831  ·  view source on GitHub ↗

A logging handler used when live logging is disabled.

Source from the content-addressed store, hash-verified

818
819
820class _LiveLoggingNullHandler(logging.NullHandler):
821 """A logging handler used when live logging is disabled."""
822
823 def reset(self) -> None:
824 pass
825
826 def set_when(self, when: str) -> None:
827 pass
828
829 def handleError(self, record: logging.LogRecord) -> None:
830 # Handled by LogCaptureHandler.
831 pass

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected