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

Method test_attr_fullwidth

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

Source from the content-addressed store, hash-verified

147 assert len(lines[1]) >= 2, lines
148
149 def test_attr_fullwidth(self, tw) -> None:
150 tw.sep("-", "hello", fullwidth=70)
151 tw.fullwidth = 70
152 tw.sep("-", "hello")
153 lines = tw.getlines()
154 assert len(lines[0]) == len(lines[1])
155
156
157@pytest.mark.skipif(sys.platform == "win32", reason="win32 has no native ansi")

Callers

nothing calls this directly

Calls 2

getlinesMethod · 0.80
sepMethod · 0.45

Tested by

no test coverage detected