Skip to content

Commit

Permalink
Fix exclude_fully_unbounded setting in interval strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSosic committed Dec 18, 2023
1 parent 2bffb96 commit 86720b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/hypothesis_strategies/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ def interval(
if exclude_half_bounded:
assume(not interval.is_half_bounded)
if exclude_fully_unbounded:
assume(not interval.is_left_bounded and not interval.is_right_bounded)
assume(interval.is_left_bounded or interval.is_right_bounded)

return interval

0 comments on commit 86720b4

Please sign in to comment.