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

Method __init__

src/_pytest/logging.py:117–119  ·  view source on GitHub ↗
(self, fmt: str, auto_indent: Union[int, str, bool, None])

Source from the content-addressed store, hash-verified

115 """
116
117 def __init__(self, fmt: str, auto_indent: Union[int, str, bool, None]) -> None:
118 super().__init__(fmt)
119 self._auto_indent = self._get_auto_indent(auto_indent)
120
121 @staticmethod
122 def _get_auto_indent(auto_indent_option: Union[int, str, bool, None]) -> int:

Callers

nothing calls this directly

Calls 2

_get_auto_indentMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected