Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7b206eb

Browse files
committed
Skip shading of masked array test on numpy 1.6
1 parent 11b0a5a commit 7b206eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_colors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ def test_light_source_shading_default():
308308
assert_array_almost_equal(rgb, expect, decimal=2)
309309

310310

311-
@knownfailureif(V(np.__version__) >= V('1.9.0'))
311+
@knownfailureif(V(np.__version__) >= V('1.9.0') or
312+
V(np.__version__) < V('1.7.0'))
312313
def test_light_source_masked_shading():
313314
"""Array comparison test for a surface with a masked portion. Ensures that
314315
we don't wind up with "fringes" of odd colors around masked regions."""

0 commit comments

Comments
 (0)