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

Function test_expand_false

tests/test_padding.py:31–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30
31def test_expand_false():
32 console = Console(width=100, color_system=None)
33 console.begin_capture()
34 console.print(Padding("foo", 1, expand=False))
35 assert console.end_capture() == " \n foo \n \n"
36
37
38def test_rich_console():

Callers

nothing calls this directly

Calls 5

begin_captureMethod · 0.95
printMethod · 0.95
end_captureMethod · 0.95
ConsoleClass · 0.90
PaddingClass · 0.90

Tested by

no test coverage detected