From 7a4fc3d4591c0e0ce0f7239396f794296d1d2611 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 7 Jan 2016 21:16:54 -0500 Subject: [PATCH] TST: fix broken test One too many assertions --- lib/matplotlib/tests/test_axes.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py index 4fee24f76703..f89b889550bc 100644 --- a/lib/matplotlib/tests/test_axes.py +++ b/lib/matplotlib/tests/test_axes.py @@ -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 @@ -4239,7 +4238,6 @@ def test_auto_numticks(): @cleanup -@knownfailureif(True) def test_remove_shared_axes(): def _helper_x(ax): ax2 = ax.twinx() @@ -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