MCPcopy
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
859def test_assemble():
860 text = Text.assemble("foo", ("bar", "bold"))
861 assert str(text) == "foobar"
862 assert text._spans == [Span(3, 6, "bold")]
863
864
865def test_assemble_meta():

Callers

nothing calls this directly

Calls 2

SpanClass · 0.90
assembleMethod · 0.80

Tested by

no test coverage detected