Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ test_assemble
Function
test_assemble
tests/test_text.py:859–862 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
857
858
859
def
test_assemble():
860
text = Text.assemble(
"foo"
, (
"bar"
,
"bold"
))
861
assert str(text) ==
"foobar"
862
assert text._spans == [Span(3, 6,
"bold"
)]
863
864
865
def
test_assemble_meta():
Callers
nothing calls this directly
Calls
2
Span
Class · 0.90
assemble
Method · 0.80
Tested by
no test coverage detected