Unverified Commit 5297fa31 authored by M Bernt's avatar M Bernt Committed by GitHub
Browse files

Apply suggestions from code review

parent a2d1a5d2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -217,11 +217,11 @@ 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)