Closed
Description
Bug report
Bug summary
________________________________ test_find_ttc _________________________________
[gw1] linux -- Python 3.7.1 /home/travis/virtualenv/python3.7.1/bin/python
@pytest.mark.xfail(not (os.environ.get("TRAVIS") and sys.platform == "linux"),
reason="Font may be missing.")
def test_find_ttc():
fp = FontProperties(family=["WenQuanYi Zen Hei"])
font = findfont(fp)
> assert Path(font).name == "wqy-zenhei.ttc"
E AssertionError: assert 'DejaVuSans.ttf' == 'wqy-zenhei.ttc'
E - DejaVuSans.ttf
E + wqy-zenhei.ttc
lib/matplotlib/tests/test_font_manager.py:117: AssertionError
This happens sometimes with recent PRs
e.g. https://travis-ci.org/matplotlib/matplotlib/builds/477417451?utm_source=github_status&utm_medium=notification
or https://travis-ci.org/matplotlib/matplotlib/builds/476654935?utm_source=github_status&utm_medium=notification
However, there seem to be other PR at the same time that do not suffer from the issue.