We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1722660 commit da01e92Copy full SHA for da01e92
tests/data/annotation_types/test_annotation.py
@@ -95,4 +95,4 @@ def test_confidence_value_range_validation():
95
96
with pytest.raises(ValueError) as e:
97
ObjectAnnotation(value=line, name=name, confidence=14)
98
- assert e.value.errors()[0]['msg'] == 'must be float within [0,1] range'
+ assert e.value.errors()[0]['msg'] == 'must be a number within [0,1] range'
0 commit comments