MCPcopy Index your code
hub / github.com/ipython/ipython / test_parse_error

Function test_parse_error

tests/test_pycolorize.py:67–71  ·  view source on GitHub ↗
(theme_name)

Source from the content-addressed store, hash-verified

65
66
67def test_parse_error(theme_name):
68 p = Parser(theme_name=theme_name)
69 f1 = p.format(r"\ " if sys.version_info >= (3, 12) else ")", "str")
70 if theme_name != "nocolor":
71 assert "ERROR" in f1

Callers

nothing calls this directly

Calls 2

formatMethod · 0.95
ParserClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…