Skip to content

test_fontconfig_fonts error on Linux wheel testing #8152

@matthew-brett

Description

@matthew-brett

Testing the built wheel, I get the following error (using pytest):

=================================== FAILURES ===================================
__________________________ test_get_fontconfig_fonts ___________________________
[gw0] linux2 -- Python 2.7.6 /venv/bin/python2.7
@pytest.mark.skipif(sys.platform == 'win32', reason='no fontconfig on Windows')
    def test_get_fontconfig_fonts():
>       assert len(get_fontconfig_fonts()) > 1
E       assert 0 > 1
E        +  where 0 = len([])
E        +    where [] = get_fontconfig_fonts()

https://travis-ci.org/MacPython/matplotlib-wheels/jobs/205418240#L623

Should a bare Linux container like the testing container contain any fontconfig fonts? Or is some assumption being made about the configuration of the system?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions