From f7ef33ae49dba8dc54dfd8f8226878d2461db260 Mon Sep 17 00:00:00 2001 From: mikedh Date: Sat, 4 Jan 2020 13:23:51 -0500 Subject: [PATCH] layers are list not numpy array --- tests/test_paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_paths.py b/tests/test_paths.py index 8ff8221d5..babe1643b 100644 --- a/tests/test_paths.py +++ b/tests/test_paths.py @@ -123,7 +123,7 @@ def test_poly(self): # layers should match entity count assert len(p.layers) == len(p.entities) - assert len(g.np.unique(p.layers)) > 1 + assert len(set(p.layers)) > 1 count = len(p.entities)