Skip to content

Commit 12bbac0

Browse files
committed
Adjust Hypothesis timeout settings
Again.
1 parent 9019582 commit 12bbac0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pandas/conftest.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
hypothesis.settings.register_profile(
1515
"ci",
1616
# 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
17+
# them from 200ms to 500ms per test case as the global default. If this
1818
# 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,
19+
# if it really is slow add `@settings(deadline=...)` with a working value,
20+
# or `deadline=None` to entirely disable timeouts for that test.
21+
deadline=500,
22+
timeout=hypothesis.unlimited,
2123
suppress_health_check=(hypothesis.HealthCheck.too_slow,)
2224
)
2325
hypothesis.settings.load_profile("ci")

0 commit comments

Comments
 (0)