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

Method __init__

src/_pytest/doctest.py:158–161  ·  view source on GitHub ↗
(
        self, reprlocation_lines: Sequence[Tuple[ReprFileLocation, Sequence[str]]]
    )

Source from the content-addressed store, hash-verified

156
157class ReprFailDoctest(TerminalRepr):
158 def __init__(
159 self, reprlocation_lines: Sequence[Tuple[ReprFileLocation, Sequence[str]]]
160 ) -> None:
161 self.reprlocation_lines = reprlocation_lines
162
163 def toterminal(self, tw: TerminalWriter) -> None:
164 for reprlocation, lines in self.reprlocation_lines:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected