From e37ec17c43e2303de88698bd5279d0a81acc2735 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sat, 2 Apr 2016 16:57:30 -0400 Subject: [PATCH] TST: skip broken test This test only over passed due to an error arising from a bug in numpy's divmod being fixed (numpy/numpy#6127). See #5950 --- lib/matplotlib/tests/test_axes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py index d2770ff00e62..5385696d8c35 100644 --- a/lib/matplotlib/tests/test_axes.py +++ b/lib/matplotlib/tests/test_axes.py @@ -21,7 +21,8 @@ import warnings import matplotlib -from matplotlib.testing.decorators import image_comparison, cleanup +from matplotlib.testing.decorators import (image_comparison, cleanup, + knownfailureif) import matplotlib.pyplot as plt import matplotlib.markers as mmarkers from numpy.testing import assert_allclose, assert_array_equal @@ -86,6 +87,7 @@ def test_formatter_ticker(): ax.autoscale_view() +@knownfailureif(tuple(map(int, np.__version__.split('.'))) >= (1, 11, 0)) @image_comparison(baseline_images=["formatter_large_small"]) def test_formatter_large_small(): # github issue #617, pull #619