Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ test_rstrip_end
Function
test_rstrip_end
tests/test_text.py:135–138 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
133
134
135
def
test_rstrip_end():
136
text = Text(
"Hello, World! "
)
137
text.rstrip_end(14)
138
assert str(text) ==
"Hello, World! "
139
140
141
def
test_stylize():
Callers
nothing calls this directly
Calls
2
rstrip_end
Method · 0.95
Text
Class · 0.90
Tested by
no test coverage detected