File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
hypothesis-python/src/hypothesis Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -461,8 +461,14 @@ def all(cls) -> List["HealthCheck"]:
461
461
return list (HealthCheck )
462
462
463
463
data_too_large = 1
464
- """Check for when the typical size of the examples you are generating
465
- exceeds the maximum allowed size too often."""
464
+ """Checks if too many examples are aborted for being too large.
465
+
466
+ This is measured by the number of random choices that Hypothesis makes
467
+ in order to generate something, not the size of the generated object.
468
+ For example, choosing a 100MB object from a predefined list would take
469
+ only a few bits, while generating 10KB of JSON from scratch might trigger
470
+ this health check.
471
+ """
466
472
467
473
filter_too_much = 2
468
474
"""Check for when the test is filtering out too many examples, either
You can’t perform that action at this time.
0 commit comments