MCPcopy
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
194def test_empty_dataclass() -> None:
195 assert pretty_repr(Empty()) == "Empty()"
196 assert pretty_repr([Empty()]) == "[Empty()]"
197
198
199class StockKeepingUnit(NamedTuple):

Callers

nothing calls this directly

Calls 2

pretty_reprFunction · 0.90
EmptyClass · 0.85

Tested by

no test coverage detected