Skip to content

Commit 07588ea

Browse files
committed
test: give hypothesis a little more time
Had a test fail with: ``` hypothesis.errors.DeadlineExceeded: Test took 254.25ms, which exceeds the deadline of 200.00ms ```
1 parent 2c96518 commit 07588ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_numbits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# When coverage-testing ourselves, hypothesis complains about a test being
2929
# flaky because the first run exceeds the deadline (and fails), and the second
3030
# run succeeds. Disable the deadline if we are coverage-testing.
31-
default_settings = settings()
31+
default_settings = settings(deadline=400) # milliseconds
3232
if env.METACOV:
3333
default_settings = settings(default_settings, deadline=None)
3434

0 commit comments

Comments
 (0)