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

Method toterminal

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

Source from the content-addressed store, hash-verified

991 self.sections.append((name, content, sep))
992
993 def toterminal(self, tw: TerminalWriter) -> None:
994 for name, content, sep in self.sections:
995 tw.sep(sep, name)
996 tw.line(content)
997
998
999@attr.s(eq=False, auto_attribs=True)

Callers

nothing calls this directly

Calls 2

sepMethod · 0.45
lineMethod · 0.45

Tested by

no test coverage detected