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

Method toterminal

testing/code/test_excinfo.py:917–918  ·  view source on GitHub ↗
(self, tw: TerminalWriter)

Source from the content-addressed store, hash-verified

915
916 class MyRepr(TerminalRepr):
917 def toterminal(self, tw: TerminalWriter) -> None:
918 tw.line("я")
919
920 x = str(MyRepr())
921 assert x == "я"

Calls 1

lineMethod · 0.45

Tested by

no test coverage detected