Skip to content

Commit da01e92

Browse files
committed
AL-3578: Fixed test
1 parent 1722660 commit da01e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/data/annotation_types/test_annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ def test_confidence_value_range_validation():
9595

9696
with pytest.raises(ValueError) as e:
9797
ObjectAnnotation(value=line, name=name, confidence=14)
98-
assert e.value.errors()[0]['msg'] == 'must be float within [0,1] range'
98+
assert e.value.errors()[0]['msg'] == 'must be a number within [0,1] range'

0 commit comments

Comments
 (0)