Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b08050c

Browse files
gvwilsonemilykl
andauthored
Update tests/test_plotly_utils/validators/test_string_validator.py
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
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)

AltStyle によって変換されたページ (->オリジナル) /