Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
11
def
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
17
def
test_config():
Callers
nothing calls this directly
Calls
2
Theme
Class · 0.90
Style
Class · 0.90
Tested by
no test coverage detected