Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Nov 22, 2024
1 parent 8fdd991 commit fe1584d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/validators/test_regexp.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ def test_regex_invalid_mode(dummy_form, dummy_field, re_mode):
regexp("^a", mode=re_mode)

expected_msg_tmpl = (
"Invalid mode value '{}'. "
"Supported values: search, match, fullmatch"
"Invalid mode value '{}'. " "Supported values: search, match, fullmatch"
)

assert e.value.args[0] == expected_msg_tmpl.format(re_mode)

0 comments on commit fe1584d

Please sign in to comment.