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

Method test_line_unicode

testing/io/test_terminalwriter.py:103–107  ·  view source on GitHub ↗
(self, tw)

Source from the content-addressed store, hash-verified

101 assert lines[0] == "hello\n"
102
103 def test_line_unicode(self, tw) -> None:
104 msg = "b\u00f6y"
105 tw.line(msg)
106 lines = tw.getlines()
107 assert lines[0] == msg + "\n"
108
109 def test_sep_no_title(self, tw) -> None:
110 tw.sep("-", fullwidth=60)

Callers

nothing calls this directly

Calls 2

getlinesMethod · 0.80
lineMethod · 0.45

Tested by

no test coverage detected