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

Method test_line_unicode

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getlinesMethod · 0.80
lineMethod · 0.45

Tested by

no test coverage detected