Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ test_add
Function
test_add
tests/test_text.py:57–60 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
55
56
57
def
test_add():
58
text = Text(
"foo"
) + Text(
"bar"
)
59
assert str(text) ==
"foobar"
60
assert Text(
"foo"
).__add__(1) == NotImplemented
61
62
63
def
test_eq():
Callers
nothing calls this directly
Calls
2
Text
Class · 0.90
__add__
Method · 0.45
Tested by
no test coverage detected