MCPcopy
hub / github.com/Textualize/rich / test_end

Function test_end

tests/test_text.py:371–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

369
370
371def test_end():
372 console = Console(width=20, file=StringIO())
373 text = Group(Text.from_markup("foo", end=" "), Text.from_markup("bar"))
374 console.print(text)
375 assert console.file.getvalue() == "foo bar\n"
376
377
378def test_split():

Callers

nothing calls this directly

Calls 4

printMethod · 0.95
ConsoleClass · 0.90
GroupClass · 0.90
from_markupMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…