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

Method test_sep_no_title

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

Source from the content-addressed store, hash-verified

107 assert lines[0] == msg + "\n"
108
109 def test_sep_no_title(self, tw) -> None:
110 tw.sep("-", fullwidth=60)
111 lines = tw.getlines()
112 assert len(lines) == 1
113 assert lines[0] == "-" * (60 - win32) + "\n"
114
115 def test_sep_with_title(self, tw) -> None:
116 tw.sep("-", "hello", fullwidth=60)

Callers

nothing calls this directly

Calls 2

getlinesMethod · 0.80
sepMethod · 0.45

Tested by

no test coverage detected