MCPcopy
hub / github.com/Textualize/rich / test_bool

Function test_bool

tests/test_style.py:81–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80
81def test_bool():
82 assert bool(Style()) is False
83 assert bool(Style(bold=True)) is True
84 assert bool(Style(color="red")) is True
85 assert bool(Style.parse("")) is False
86
87
88def test_color_property():

Callers

nothing calls this directly

Calls 2

StyleClass · 0.90
parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…