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

Skip to content

Commit e37ec17

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 e37ec17

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
import warnings
2222

2323
import matplotlib
24-
from matplotlib.testing.decorators import image_comparison, cleanup
24+
from matplotlib.testing.decorators import (image_comparison, cleanup,
25+
knownfailureif)
2526
import matplotlib.pyplot as plt
2627
import matplotlib.markers as mmarkers
2728
from numpy.testing import assert_allclose, assert_array_equal
@@ -86,6 +87,7 @@ def test_formatter_ticker():
8687
ax.autoscale_view()
8788

8889

90+
@knownfailureif(tuple(map(int, np.__version__.split('.'))) >= (1, 11, 0))
8991
@image_comparison(baseline_images=["formatter_large_small"])
9092
def test_formatter_large_small():
9193
# github issue #617, pull #619

0 commit comments

Comments
 (0)