Skip to content

Commit 9f5a0b7

Browse files
Wrap long assertions in tests
FIX: - Reformat assertion expressions in integration and unit tests to avoid long lines and comply with the project's 88-character limit
1 parent c1daa47 commit 9f5a0b7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/unit/test_float_validator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ def test_validate_options_rejects_disallowed_value(self) -> None:
9292
with pytest.raises(
9393
InvalidChoiceError,
9494
match=(
95-
r"Invalid value for quality: must be one of "
96-
r"\[0\.5, 0\.8, 1\.0\]\."
95+
r"Invalid value for quality: must be one of " r"\[0\.5, 0\.8, 1\.0\]\."
9796
),
9897
):
9998
FloatValidator.validate_options(0.7, {1.0, 0.8, 0.5}, "quality")

0 commit comments

Comments
 (0)