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

Method toterminal

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

Source from the content-addressed store, hash-verified

1008 self.reprcrash = self.chain[-1][1]
1009
1010 def toterminal(self, tw: TerminalWriter) -> None:
1011 for element in self.chain:
1012 element[0].toterminal(tw)
1013 if element[2] is not None:
1014 tw.line("")
1015 tw.line(element[2], yellow=True)
1016 super().toterminal(tw)
1017
1018
1019@attr.s(eq=False, auto_attribs=True)

Callers

nothing calls this directly

Calls 2

toterminalMethod · 0.45
lineMethod · 0.45

Tested by

no test coverage detected