MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_mathtext_exceptions

Function test_mathtext_exceptions

lib/matplotlib/tests/test_mathtext.py:371–375  ·  view source on GitHub ↗
(math, msg)

Source from the content-addressed store, hash-verified

369 ]
370)
371def test_mathtext_exceptions(math, msg):
372 parser = mathtext.MathTextParser('agg')
373 match = re.escape(msg) if isinstance(msg, str) else msg
374 with pytest.raises(ValueError, match=match):
375 parser.parse(math)
376
377
378def test_get_unicode_index_exception():

Callers

nothing calls this directly

Calls 1

parseMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…