From 26cba4b546717b4040008ffc292a020496b95371 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py index d2770ff00e62..da643f96b94f 100644 --- a/lib/matplotlib/tests/test_axes.py +++ b/lib/matplotlib/tests/test_axes.py @@ -22,6 +22,7 @@ import matplotlib from matplotlib.testing.decorators import image_comparison, cleanup +from matplotlib.testing.noseclasses import KnownFailureTest import matplotlib.pyplot as plt import matplotlib.markers as mmarkers from numpy.testing import assert_allclose, assert_array_equal @@ -88,6 +89,8 @@ def test_formatter_ticker(): @image_comparison(baseline_images=["formatter_large_small"]) def test_formatter_large_small(): + if tuple(map(int, np.__version__.split('.'))) >= (1, 11, 0): + raise KnownFailureTest("Fall out from a fixed numpy bug") # github issue #617, pull #619 fig, ax = plt.subplots(1) x = [0.500000001, 0.500000002]