Skip to content

Commit 3005cd5

Browse files
ksundenmeeseeksmachine
authored andcommitted
Backport PR matplotlib#27960: Update AppVeyor config
1 parent 479ff82 commit 3005cd5

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.appveyor.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,9 @@ environment:
2929
--cov-report= --cov=lib --log-level=DEBUG
3030

3131
matrix:
32-
- PYTHON_VERSION: "3.9"
32+
- PYTHON_VERSION: "3.11"
3333
CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64"
34-
TEST_ALL: "no"
35-
- PYTHON_VERSION: "3.10"
36-
CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64"
37-
TEST_ALL: "no"
34+
TEST_ALL: "yes"
3835

3936
# We always use a 64-bit machine, but can build x86 distributions
4037
# with the PYTHON_ARCH variable
@@ -77,7 +74,8 @@ test_script:
7774
- '"%DUMPBIN%" /DEPENDENTS lib\matplotlib\ft2font*.pyd | findstr freetype.*.dll && exit /b 1 || exit /b 0'
7875

7976
# this are optional dependencies so that we don't skip so many tests...
80-
- if x%TEST_ALL% == xyes conda install -q ffmpeg inkscape miktex
77+
- if x%TEST_ALL% == xyes conda install -q ffmpeg inkscape
78+
# miktex is available on conda, but seems to fail with permission errors.
8179
# missing packages on conda-forge for imagemagick
8280
# This install sometimes failed randomly :-(
8381
# - choco install imagemagick

lib/matplotlib/tests/test_tightlayout.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_tight_layout7():
130130
plt.tight_layout()
131131

132132

133-
@image_comparison(['tight_layout8'])
133+
@image_comparison(['tight_layout8'], tol=0.005)
134134
def test_tight_layout8():
135135
"""Test automatic use of tight_layout."""
136136
fig = plt.figure()

0 commit comments

Comments
 (0)