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

Method toterminal

src/_pytest/_code/code.py:1289–1292  ·  view source on GitHub ↗
(self, tw: TerminalWriter)

Source from the content-addressed store, hash-verified

1287 self.sections.append((name, content, sep))
1288
1289 def toterminal(self, tw: TerminalWriter) -> None:
1290 for name, content, sep in self.sections:
1291 tw.sep(sep, name)
1292 tw.line(content)
1293
1294
1295@dataclasses.dataclass(eq=False)

Callers

nothing calls this directly

Calls 2

sepMethod · 0.45
lineMethod · 0.45

Tested by

no test coverage detected