FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Travis for Python 3.7 sometimes fails due to missing font · Issue #13137 · matplotlib/matplotlib · GitHub

Repository navigation

Travis for Python 3.7 sometimes fails due to missing font #13137

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.

Activity

  1. modified the milestones: v3.0.3, v3.1 on Jan 14, 2019
  2. timhoffm commented on Feb 15, 2019

    MemberAuthor

    Not happening for some time. Assuming fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL