Skip to content

Commit

Permalink
TST: fix broken test
Browse files Browse the repository at this point in the history
One too many assertions

Closes #1
  • Loading branch information
tacaswell authored and anntzer committed Jan 8, 2016
1 parent 608855b commit e8bf90a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/matplotlib/tests/test_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
import warnings

import matplotlib
from matplotlib.testing.decorators import (
cleaup, image_comparison, knownfailureif)
from matplotlib.testing.decorators import image_comparison, cleanup
import matplotlib.pyplot as plt
import matplotlib.markers as mmarkers
from numpy.testing import assert_array_equal
Expand Down Expand Up @@ -4239,7 +4238,6 @@ def test_auto_numticks():


@cleanup
@knownfailureif(True)
def test_remove_shared_axes():
def _helper_x(ax):
ax2 = ax.twinx()
Expand Down Expand Up @@ -4280,7 +4278,7 @@ def _helper_y(ax):
orig_xlim = ax_lst[0][1].get_xlim()
ax.remove()
ax.set_xlim(0, 5)
assert assert_array_equal(ax_lst[0][1].get_xlim(), orig_xlim)
assert_array_equal(ax_lst[0][1].get_xlim(), orig_xlim)


@cleanup
Expand Down

0 comments on commit e8bf90a

Please sign in to comment.