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

Method toterminal

src/_pytest/doctest.py:165–169  ·  view source on GitHub ↗
(self, tw: TerminalWriter)

Source from the content-addressed store, hash-verified

163 self.reprlocation_lines = reprlocation_lines
164
165 def toterminal(self, tw: TerminalWriter) -> None:
166 for reprlocation, lines in self.reprlocation_lines:
167 for line in lines:
168 tw.line(line)
169 reprlocation.toterminal(tw)
170
171
172class MultipleDoctestFailures(Exception):

Callers

nothing calls this directly

Calls 1

lineMethod · 0.45

Tested by

no test coverage detected