We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7f051f commit 4ee1b31Copy full SHA for 4ee1b31
lib/matplotlib/tests/test_legend.py
@@ -5,7 +5,7 @@
5
from six.moves import xrange
6
7
import mock
8
-from nose.tools import assert_equal, assert_is
+from nose.tools import assert_equal
9
import numpy as np
10
11
from matplotlib.testing.decorators import image_comparison, cleanup
@@ -123,7 +123,7 @@ def test_legend_remove():
123
assert_equal(fig.legends, [])
124
leg = ax.legend("test")
125
leg.remove()
126
- assert_is(ax.get_legend(), None)
+ assert ax.get_legend() is None
127
128
129
class TestLegendFunction(object):
0 commit comments