Skip to content

Commit f6e1a0a

Browse files
Zac-HDTomAugspurger
authored andcommitted
Bump Hypothesis timeout 200ms to 5s. (#23127)
1 parent 56d8e78 commit f6e1a0a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/conftest.py

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313

1414
hypothesis.settings.register_profile(
1515
"ci",
16+
# Hypothesis timing checks are tuned for scalars by default, so we bump
17+
# them from 200ms to 5 secs per test case as the global default. If this
18+
# is too short for a specific test, (a) try to make it faster, and (b)
19+
# if it really is slow add `@settings(timeout=...)` with a working value.
20+
timeout=5000,
1621
suppress_health_check=(hypothesis.HealthCheck.too_slow,)
1722
)
1823
hypothesis.settings.load_profile("ci")

0 commit comments

Comments
 (0)