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

Skip to content

Commit b49bcf4

Browse files
committed
Merge pull request #6263 from tacaswell/tst_skip_float_rounding_issue_test
TST: skip broken test
2 parents 7a4e07c + 26cba4b commit b49bcf4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)