4 from hypothesis
import settings
, HealthCheck
6 impl
= platform
.python_implementation()
8 settings
.register_profile("ci", settings(max_examples
=1000,
10 suppress_health_check
=[HealthCheck
.too_slow
]))
11 settings
.register_profile("pypy", settings(deadline
=None,
12 suppress_health_check
=[HealthCheck
.too_slow
]))
14 settings
.load_profile(os
.getenv("HYPOTHESIS_PROFILE",
15 "default" if impl
!= "PyPy" else "pypy"))