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]