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

Function test_pygments_syntax_theme

tests/test_syntax.py:167–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165
166
167def test_pygments_syntax_theme() -> None:
168 style = PygmentsSyntaxTheme("default")
169 assert style.get_style_for_token("abc") == Style.parse("none")
170
171
172def test_get_line_color_none() -> None:

Callers

nothing calls this directly

Calls 3

get_style_for_tokenMethod · 0.95
PygmentsSyntaxThemeClass · 0.90
parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…