Commit 7a1bf04e authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: Fixed broken assumptions (see previous commit)

parent 801b6b7c
......@@ -155,8 +155,8 @@ def test_mask(seed):
exp = []
for lbl, prop in zip(labels, props):
exp.append('{}:{:0.4f}'.format(desc.labels[int(lbl)].name,
prop))
name = desc.find(value=int(lbl)).name
exp.append('{}:{:0.4f}'.format(name, prop))
return '\n'.join(exp)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment