Skip to content

Commit 4bfcf0d

Browse files
Arnaud dEinstanceofme
andauthored
Clarify exception message
Co-authored-by: Adrien Lavoillotte <adrien.lavoillotte@dataiku.com>
1 parent 7b56a08 commit 4bfcf0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dataikuapi/dss/ml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def check_assertion_names_are_uniq(assertion_params_list):
673673
if 'name' not in assertion_dict:
674674
raise ValueError('No name provided for assertion')
675675
if assertion_dict['name'] in _:
676-
raise ValueError('Assertion names should be uniq. {} is multiple times in the data'.format(
676+
raise ValueError('Assertion names must be unique, but got multiple instances of: {}'.format(
677677
assertion_dict['name']))
678678
_[assertion_dict['name']] = True
679679

0 commit comments

Comments
 (0)