Skip to content

Commit b08050c

Browse files
gvwilsonemilykl
andauthored
Update tests/test_plotly_utils/validators/test_string_validator.py
Co-authored-by: Emily KL <[email protected]>
1 parent 2461584 commit b08050c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_plotly_utils/validators/test_string_validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_rejection_values(val, validator_values):
8585
with pytest.raises(ValueError) as validation_failure:
8686
validator_values.validate_coerce(val)
8787

88-
assert "Invalid value".format() in str(validation_failure.value)
88+
assert "Invalid value" in str(validation_failure.value)
8989
assert "['foo', 'BAR', '']" in str(validation_failure.value)
9090

9191

0 commit comments

Comments
 (0)