Skip to content

Commit e8bf90a

Browse files
tacaswellanntzer
authored andcommitted
TST: fix broken test
One too many assertions Closes #1
1 parent 608855b commit e8bf90a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
import warnings
2020

2121
import matplotlib
22-
from matplotlib.testing.decorators import (
23-
cleaup, image_comparison, knownfailureif)
22+
from matplotlib.testing.decorators import image_comparison, cleanup
2423
import matplotlib.pyplot as plt
2524
import matplotlib.markers as mmarkers
2625
from numpy.testing import assert_array_equal
@@ -4239,7 +4238,6 @@ def test_auto_numticks():
42394238

42404239

42414240
@cleanup
4242-
@knownfailureif(True)
42434241
def test_remove_shared_axes():
42444242
def _helper_x(ax):
42454243
ax2 = ax.twinx()
@@ -4280,7 +4278,7 @@ def _helper_y(ax):
42804278
orig_xlim = ax_lst[0][1].get_xlim()
42814279
ax.remove()
42824280
ax.set_xlim(0, 5)
4283-
assert assert_array_equal(ax_lst[0][1].get_xlim(), orig_xlim)
4281+
assert_array_equal(ax_lst[0][1].get_xlim(), orig_xlim)
42844282

42854283

42864284
@cleanup

0 commit comments

Comments
 (0)