Skip to content

Commit 727c1da

Browse files
committed
Test passes with numpy 1.6 too
1 parent ac54463 commit 727c1da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_colors.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ def test_light_source_shading_default():
313313
assert_array_almost_equal(rgb, expect, decimal=2)
314314

315315

316-
@knownfailureif(V(np.__version__) <= V('1.9.0'))
316+
@knownfailureif((V(np.__version__) <= V('1.9.0')
317+
and V(np.__version__) >= V('1.7.0')))
317318
# Numpy 1.9.1 fixed a bug in masked arrays which resulted in
318319
# additional elements being masked when calculating the gradient thus
319320
# the output is different with earlier numpy versions.

0 commit comments

Comments
 (0)