From: Ole Streicher <olebole@debian.org>
Date: Mon, 23 Jan 2017 13:14:04 +0100
Subject: Explicitely transform results to a list.

Matplotlib now returns a _ColorPalette instead of a list, but slicing it
will return a list. This let the equality check fail.

Closes: #849368, #850999
---
 seaborn/tests/test_palettes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/seaborn/tests/test_palettes.py b/seaborn/tests/test_palettes.py
index 87c5ed4..f0ef385 100644
--- a/seaborn/tests/test_palettes.py
+++ b/seaborn/tests/test_palettes.py
@@ -163,7 +163,7 @@ class TestColorPalettes(object):
 
         pal_forward = palettes.mpl_palette("BuPu", 6)
         pal_reverse = palettes.mpl_palette("BuPu_r", 6)
-        nt.assert_equal(pal_forward, pal_reverse[::-1])
+        np.testing.assert_allclose(pal_forward, pal_reverse[::-1])
 
     def test_rgb_from_hls(self):
 
