We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405f1eb commit 06c8679Copy full SHA for 06c8679
lib/matplotlib/tests/test_font_manager.py
@@ -146,7 +146,7 @@ def test_find_invalid(tmpdir):
146
147
# Not really public, but get_font doesn't expose non-filename constructor.
148
from matplotlib.ft2font import FT2Font
149
- with pytest.raises(TypeError, match='font file or binary-mode file'):
+ with pytest.raises(TypeError, match='font file or a binary-mode file'):
150
FT2Font(StringIO())
151
152
0 commit comments