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

Skip to content

Commit 26cba4b

Browse files
committed
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
1 parent 715435c commit 26cba4b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/matplotlib/tests/test_axes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
import matplotlib
2424
from matplotlib.testing.decorators import image_comparison, cleanup
25+
from matplotlib.testing.noseclasses import KnownFailureTest
2526
import matplotlib.pyplot as plt
2627
import matplotlib.markers as mmarkers
2728
from numpy.testing import assert_allclose, assert_array_equal
@@ -88,6 +89,8 @@ def test_formatter_ticker():
8889

8990
@image_comparison(baseline_images=["formatter_large_small"])
9091
def test_formatter_large_small():
92+
if tuple(map(int, np.__version__.split('.'))) >= (1, 11, 0):
93+
raise KnownFailureTest("Fall out from a fixed numpy bug")
9194
# github issue #617, pull #619
9295
fig, ax = plt.subplots(1)
9396
x = [0.500000001, 0.500000002]

0 commit comments

Comments
 (0)