Skip to content

Commit dabae3a

Browse files
authored
Merge pull request #23207 from oscargus/updatebuilds
TST: Update build environment and improve test
2 parents 3e9f0b8 + 5248bc5 commit dabae3a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ jobs:
4848
XVFB_RUN: xvfb-run -a
4949
- os: ubuntu-20.04
5050
python-version: '3.10'
51-
# Re-add this when extra dependencies have wheels.
52-
# extra-requirements: '-r requirements/testing/extra.txt'
51+
extra-requirements: '-r requirements/testing/extra.txt'
5352
XVFB_RUN: xvfb-run -a
5453
- os: macos-latest
5554
python-version: 3.8

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,10 @@ def _test_number_of_draws_script():
512512
# copy_from_bbox only works when rendering to an ImageSurface
513513
param.marks.append(
514514
pytest.mark.skip("gtk3cairo does not support blitting"))
515+
elif backend == "gtk4cairo":
516+
# copy_from_bbox only works when rendering to an ImageSurface
517+
param.marks.append(
518+
pytest.mark.skip("gtk4cairo does not support blitting"))
515519
elif backend == "wx":
516520
param.marks.append(
517521
pytest.mark.skip("wx does not support blitting"))

lib/matplotlib/tests/test_font_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,5 +310,6 @@ def test_get_font_names():
310310
pass
311311
available_fonts = sorted(list(set(ttf_fonts)))
312312
mpl_font_names = sorted(fontManager.get_font_names())
313+
assert set(available_fonts) == set(mpl_font_names)
313314
assert len(available_fonts) == len(mpl_font_names)
314315
assert available_fonts == mpl_font_names

0 commit comments

Comments
 (0)
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