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

Function test_align_bottom

tests/test_align.py:71–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70
71def test_align_bottom():
72 console = Console(file=io.StringIO(), width=10)
73 console.print(Align("foo", vertical="bottom"), height=5)
74 expected = " \n \n \n \nfoo \n"
75 result = console.file.getvalue()
76 print(repr(result))
77 assert result == expected
78
79
80def test_align_center_middle():

Callers

nothing calls this directly

Calls 4

printMethod · 0.95
ConsoleClass · 0.90
AlignClass · 0.90
printFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…