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

Skip to content

Commit 3e6a689

Browse files
authored
Fixed copy test function
1 parent 5cafb57 commit 3e6a689

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_colors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ def test_colormap_copy():
5252
cm.set_under('k')
5353
cm2.set_under('r')
5454
cm.set_over('c')
55-
cm2.set_over('m')
56-
assert_equal(np.not_equal(cm._lut, cm2._lut), True)
55+
cm2.set_over('m')
56+
assert_equal(np.array_equal(cm._lut, cm2._lut), False)
5757

5858

5959
def test_colormap_endian():

0 commit comments

Comments
 (0)