Skip to content

Commit

Permalink
Merge pull request galaxyproject#18421 from mvdbeek/fix_linting_error
Browse files Browse the repository at this point in the history
[24.0] Minor linting cleanup
  • Loading branch information
nsoranzo authored Jun 19, 2024
2 parents 2891489 + 111d563 commit d2aea97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/unit/app/tools/test_parameter_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,13 @@ def test_InRangeValidator(self):
)
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)
Expand Down

0 comments on commit d2aea97

Please sign in to comment.