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 b28e4c1 commit 6b901feCopy full SHA for 6b901fe
lib/matplotlib/tests/test_font_manager.py
@@ -183,11 +183,11 @@ def test_addfont_as_path():
183
try:
184
fontManager.addfont(path)
185
added, = [font for font in fontManager.ttflist
186
- if font.fname.endswith('mpltest.ttf')]
+ if font.fname.endswith(font_test_file)]
187
fontManager.ttflist.remove(added)
188
finally:
189
to_remove = [font for font in fontManager.ttflist
190
191
for font in to_remove:
192
fontManager.ttflist.remove(font)
193
0 commit comments