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

Method __init__

src/_pytest/logging.py:147–149  ·  view source on GitHub ↗
(self, fmt: str, auto_indent: int | str | bool | None)

Source from the content-addressed store, hash-verified

145 """
146
147 def __init__(self, fmt: str, auto_indent: int | str | bool | None) -> None:
148 super().__init__(fmt)
149 self._auto_indent = self._get_auto_indent(auto_indent)
150
151 @staticmethod
152 def _get_auto_indent(auto_indent_option: 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