Skip to content

Commit 8f111bd

Browse files
committed
Mark 4 failing tests with old freetype versions
1 parent 3b0c9a7 commit 8f111bd

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

lib/matplotlib/tests/test_axes.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ def test_polar_wrap():
270270
plt.polar( [358*D2R, 2*D2R], [0.2, 0.1], "r.-" )
271271
plt.rgrids( [0.05, 0.1, 0.15, 0.2, 0.25, 0.3] )
272272

273-
@image_comparison(baseline_images=['polar_units', 'polar_units_2'])
273+
@image_comparison(baseline_images=['polar_units', 'polar_units_2'],
274+
freetype_version=('2.4.5', '2.4.9'))
274275
def test_polar_units():
275276
import matplotlib.testing.jpl_units as units
276277
from nose.tools import assert_true
@@ -553,7 +554,8 @@ def test_canonical():
553554
ax.plot([1,2,3])
554555

555556

556-
@image_comparison(baseline_images=['arc_ellipse'])
557+
@image_comparison(baseline_images=['arc_ellipse'],
558+
freetype_version=('2.4.5', '2.4.9'))
557559
def test_arc_ellipse():
558560
from matplotlib import patches
559561
xcenter, ycenter = 0.38, 0.52
@@ -614,7 +616,8 @@ def test_markevery():
614616
ax.plot(x, y, '+', markevery=(5, 20), label='mark every 5 starting at 10')
615617
ax.legend()
616618

617-
@image_comparison(baseline_images=['markevery_line'])
619+
@image_comparison(baseline_images=['markevery_line'],
620+
freetype_version=('2.4.5', '2.4.9'))
618621
def test_markevery_line():
619622
x = np.linspace(0, 10, 100)
620623
y = np.sin(x) * np.sqrt(x/10 + 0.5)

lib/matplotlib/tests/test_tightlayout.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def test_tight_layout3():
4949
plt.tight_layout()
5050

5151

52-
@image_comparison(baseline_images=['tight_layout4'])
52+
@image_comparison(baseline_images=['tight_layout4'],
53+
freetype_version=('2.4.5', '2.4.9'))
5354
def test_tight_layout4():
5455
'Test tight_layout for subplot2grid'
5556

0 commit comments

Comments
 (0)