From 81b3c103059fdc931623b274de6abf25cae24317 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Thu, 2 Jul 2020 10:37:57 -0400 Subject: [PATCH] removed ambiguous variable "l" --- python/tests/test_Colormap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_Colormap.py b/python/tests/test_Colormap.py index f288ffb24..fbe65e2bd 100644 --- a/python/tests/test_Colormap.py +++ b/python/tests/test_Colormap.py @@ -127,7 +127,7 @@ class TestColormap: def test_add(self): c = Colormap.from_predefined('jet') c += c - assert (np.allclose(c.colors[:len(c.colors)],c.colors[len(c.colors):])) + assert (np.allclose(c.colors[:len(c.colors)//2],c.colors[len(c.colors)//2:])) def test_list(self): Colormap.list_predefined()