-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
CI: testingCI configuration and testingCI configuration and testing
Milestone
Description
Bug summary
__________________________ test_errorbar_limits[svg] ___________________________
[gw2] linux -- Python 3.12.8 /opt/hostedtoolcache/Python/3.12.8/arm64/bin/python
args = ()
kwds = {'extension': 'svg', 'request': <FixtureRequest for <Function test_errorbar_limits[svg]>>}
@wraps(func)
def inner(*args, **kwds):
with self._recreate_cm():
> return func(*args, **kwds)
E matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 0.002):
E result_images/test_axes/errorbar_limits_svg.png
E result_images/test_axes/errorbar_limits-expected_svg.png
E result_images/test_axes/errorbar_limits_svg-failed-diff.png
/opt/hostedtoolcache/Python/3.12.8/arm64/lib/python3.12/contextlib.py:81: ImageComparisonFailure
and
_____________________________ test_get_font_names ______________________________
[gw3] linux -- Python 3.12.8 /opt/hostedtoolcache/Python/3.12.8/arm64/bin/python
@pytest.mark.skipif(sys.platform == 'win32', reason='Linux or OS only')
def test_get_font_names():
paths_mpl = [cbook._get_data_path('fonts', subdir) for subdir in ['ttf']]
fonts_mpl = findSystemFonts(paths_mpl, fontext='ttf')
fonts_system = findSystemFonts(fontext='ttf')
ttf_fonts = []
for path in fonts_mpl + fonts_system:
try:
font = ft2font.FT2Font(path)
prop = ttfFontProperty(font)
ttf_fonts.append(prop.name)
except Exception:
pass
available_fonts = sorted(list(set(ttf_fonts)))
mpl_font_names = sorted(fontManager.get_font_names())
> assert set(available_fonts) == set(mpl_font_names)
E AssertionError: assert {'C059', 'D05...ns Mono', ...} == {'C059', 'D05...ns Mono', ...}
E
E Extra items in the right set:
E 'Liberation Serif'
E 'Liberation Sans Narrow'
E 'Liberation Sans'
E 'Liberation Mono'
[...]
Metadata
Metadata
Assignees
Labels
CI: testingCI configuration and testingCI configuration and testing