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

Function test_inherit

tests/test_theme.py:11–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10
11def test_inherit():
12 theme = Theme({"warning": "red"})
13 assert theme.styles["warning"] == Style(color="red")
14 assert theme.styles["dim"] == Style(dim=True)
15
16
17def test_config():

Callers

nothing calls this directly

Calls 2

ThemeClass · 0.90
StyleClass · 0.90

Tested by

no test coverage detected