(math, msg)
| 369 | ] |
| 370 | ) |
| 371 | def 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 | |
| 378 | def test_get_unicode_index_exception(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…