Skip to content

Commit

Permalink
add from None to raise
Browse files Browse the repository at this point in the history
  • Loading branch information
tybug committed Mar 3, 2024
1 parent 3a732d1 commit 2a99f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypothesis-python/tests/conjecture/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def fresh_data(*, random=None, observer=None) -> ConjectureData:
raise ValueError(
"must pass a seeded Random instance to fresh_data() when "
"outside of a build context"
)
) from None

# within property tests, ensure fresh_data uses a controlled source of
# randomness.
Expand Down

0 comments on commit 2a99f19

Please sign in to comment.