Commit a5f15bff authored by Arnaud Fontaine's avatar Arnaud Fontaine

simulation: Fix typo in Variation Equivalence Tester (IndexError when solving Divergences).

Followup of: "simulation: improve equivalence testers explanations messages".
parent c84f39af
......@@ -86,8 +86,8 @@ class VariationEquivalenceTester(Predicate, EquivalenceTesterMixin):
# XXX We should use "getTranslatedTestedPropertyTitleList", but it seems to
# not exist for accessors having multiple possible values
property_name = self.getTestedPropertyTitleList()[property_title_index]
except ValueError, IndexError:
pass
except (ValueError, IndexError):
return (
prevision_value, decision_value,
'The value of ${property_name} is different between decision and prevision.',
......
Markdown is supported
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