CI Test: Deprecating 'Healthcheck.all()' from Hypothesis in fuzz.py (#3945)

This commit is contained in:
rdrll 2023-10-16 05:13:53 -07:00 committed by GitHub
parent 935f303a0a
commit 3bb92146f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@
max_examples=1000, # roughly 1k tests/minute, or half that under coverage max_examples=1000, # roughly 1k tests/minute, or half that under coverage
derandomize=True, # deterministic mode to avoid CI flakiness derandomize=True, # deterministic mode to avoid CI flakiness
deadline=None, # ignore Hypothesis' health checks; we already know that deadline=None, # ignore Hypothesis' health checks; we already know that
suppress_health_check=HealthCheck.all(), # this is slow and filter-heavy. suppress_health_check=list(HealthCheck), # this is slow and filter-heavy.
) )
@given( @given(
# Note that while Hypothesmith might generate code unlike that written by # Note that while Hypothesmith might generate code unlike that written by