Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ test_align_right
Function
test_align_right
tests/test_align.py:47–50 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
45
46
47
def
test_align_right():
48
console = Console(file=io.StringIO(), width=10)
49
console.print(Align(
"foo"
,
"right"
))
50
assert console.file.getvalue() ==
" foo\n"
51
52
53
def
test_align_top():
Callers
nothing calls this directly
Calls
3
print
Method · 0.95
Console
Class · 0.90
Align
Class · 0.90
Tested by
no test coverage detected