Skip to content

Commit

Permalink
fix test after change in IsInRange description.
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygoy committed Feb 21, 2024
1 parent 35d2203 commit 1cb2347
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_resolutions.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@ def test_description(self) -> None:
iir_nums = IsInRange(test_minorant, test_majorant)
iir_str = IsInRange(test_bounding_string)

expected_description_nums = f"In the range [{test_minorant}, {test_majorant}]."
expected_description_str = f"In the range {test_bounding_string}."
assert iir_nums.describe() == expected_description_nums
assert iir_str.describe() == expected_description_str
expected_for_nums = f"In the range '[{test_minorant}, {test_majorant}]'."
expected_for_str = f"In the range '{test_bounding_string}'."
assert iir_nums.describe() == expected_for_nums
assert iir_str.describe() == expected_for_str


class TestIsLessThan:
Expand Down

0 comments on commit 1cb2347

Please sign in to comment.