Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ test_empty_dataclass
Function
test_empty_dataclass
tests/test_pretty.py:194–196 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
192
193
194
def
test_empty_dataclass() -> None:
195
assert pretty_repr(Empty()) ==
"Empty()"
196
assert pretty_repr([Empty()]) ==
"[Empty()]"
197
198
199
class
StockKeepingUnit(NamedTuple):
Callers
nothing calls this directly
Calls
2
pretty_repr
Function · 0.90
Empty
Class · 0.85
Tested by
no test coverage detected