Skip to content

Commit

Permalink
test: give hypothesis a little more time
Browse files Browse the repository at this point in the history
Had a test fail with:

```
hypothesis.errors.DeadlineExceeded: Test took 254.25ms, which exceeds the deadline of 200.00ms
```
  • Loading branch information
nedbat committed Jan 26, 2024
1 parent 2c96518 commit 07588ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_numbits.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# When coverage-testing ourselves, hypothesis complains about a test being
# flaky because the first run exceeds the deadline (and fails), and the second
# run succeeds. Disable the deadline if we are coverage-testing.
default_settings = settings()
default_settings = settings(deadline=400) # milliseconds
if env.METACOV:
default_settings = settings(default_settings, deadline=None)

Expand Down

0 comments on commit 07588ea

Please sign in to comment.