From 5248bc5a24981bf8c62b3f61a1a844d7afdb84ee Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Sun, 5 Jun 2022 18:47:30 +0200 Subject: [PATCH] Update build environment --- .github/workflows/tests.yml | 3 +-- lib/matplotlib/tests/test_backends_interactive.py | 4 ++++ lib/matplotlib/tests/test_font_manager.py | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 90fcfcfe0c75..6f1df9b3c678 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,8 +48,7 @@ jobs: XVFB_RUN: xvfb-run -a - os: ubuntu-20.04 python-version: '3.10' - # Re-add this when extra dependencies have wheels. - # extra-requirements: '-r requirements/testing/extra.txt' + extra-requirements: '-r requirements/testing/extra.txt' XVFB_RUN: xvfb-run -a - os: macos-latest python-version: 3.8 diff --git a/lib/matplotlib/tests/test_backends_interactive.py b/lib/matplotlib/tests/test_backends_interactive.py index ca321bf16b3a..9e920e33d355 100644 --- a/lib/matplotlib/tests/test_backends_interactive.py +++ b/lib/matplotlib/tests/test_backends_interactive.py @@ -512,6 +512,10 @@ def _test_number_of_draws_script(): # copy_from_bbox only works when rendering to an ImageSurface param.marks.append( pytest.mark.skip("gtk3cairo does not support blitting")) + elif backend == "gtk4cairo": + # copy_from_bbox only works when rendering to an ImageSurface + param.marks.append( + pytest.mark.skip("gtk4cairo does not support blitting")) elif backend == "wx": param.marks.append( pytest.mark.skip("wx does not support blitting")) diff --git a/lib/matplotlib/tests/test_font_manager.py b/lib/matplotlib/tests/test_font_manager.py index 254b9fdff38b..ef8b467f1709 100644 --- a/lib/matplotlib/tests/test_font_manager.py +++ b/lib/matplotlib/tests/test_font_manager.py @@ -310,5 +310,6 @@ def test_get_font_names(): pass available_fonts = sorted(list(set(ttf_fonts))) mpl_font_names = sorted(fontManager.get_font_names()) + assert set(available_fonts) == set(mpl_font_names) assert len(available_fonts) == len(mpl_font_names) assert available_fonts == mpl_font_names pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy