Unverified Commit d2aea97a authored by Nicola Soranzo's avatar Nicola Soranzo Committed by GitHub
Browse files

Merge pull request #18421 from mvdbeek/fix_linting_error

[24.0] Minor linting cleanup
parents 2891489c 111d5632
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -217,11 +217,13 @@ class TestParameterValidation(BaseParameterTestCase):
        )
        p.validate(10)
        with self.assertRaisesRegex(
            ValueError, r"Parameter blah: Value \('15'\) must not fulfill float\('10'\) < float\(value\) <= float\('20'\)"
            ValueError,
            r"Parameter blah: Value \('15'\) must not fulfill float\('10'\) < float\(value\) <= float\('20'\)",
        ):
            p.validate(15)
        with self.assertRaisesRegex(
            ValueError, r"Parameter blah: Value \('20'\) must not fulfill float\('10'\) < float\(value\) <= float\('20'\)"
            ValueError,
            r"Parameter blah: Value \('20'\) must not fulfill float\('10'\) < float\(value\) <= float\('20'\)",
        ):
            p.validate(20)
        p.validate(21)