removed ambiguous variable "l"

This commit is contained in:
Philip Eisenlohr 2020-07-02 10:37:57 -04:00
parent 368a241931
commit 81b3c10305
1 changed files with 1 additions and 1 deletions

View File

@ -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()