Skip to content
Snippets Groups Projects
Commit 7a1bf04e authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

TEST: Fixed broken assumptions (see previous commit)

parent 801b6b7c
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment