Remove hypothesis health check suppression
See https://github.com/HypothesisWorks/hypothesis/pull/3734
This commit is contained in:
parent
98845f275a
commit
96805e7d62
|
|
@ -33,24 +33,19 @@ _qute_scheme_handler = None
|
|||
|
||||
|
||||
# Set hypothesis settings
|
||||
suppressed_health_checks = [
|
||||
hypothesis.HealthCheck.function_scoped_fixture,
|
||||
# https://github.com/HypothesisWorks/hypothesis/issues/3733
|
||||
hypothesis.HealthCheck.differing_executors,
|
||||
]
|
||||
hypothesis.settings.register_profile(
|
||||
'default', hypothesis.settings(
|
||||
deadline=600,
|
||||
suppress_health_check=suppressed_health_checks,
|
||||
suppress_health_check=[hypothesis.HealthCheck.function_scoped_fixture],
|
||||
)
|
||||
)
|
||||
hypothesis.settings.register_profile(
|
||||
'ci', hypothesis.settings(
|
||||
deadline=None,
|
||||
suppress_health_check=(
|
||||
suppressed_health_checks +
|
||||
[hypothesis.HealthCheck.too_slow]
|
||||
)
|
||||
suppress_health_check=[
|
||||
hypothesis.HealthCheck.function_scoped_fixture,
|
||||
hypothesis.HealthCheck.too_slow
|
||||
]
|
||||
)
|
||||
)
|
||||
hypothesis.settings.load_profile('ci' if testutils.ON_CI else 'default')
|
||||
|
|
|
|||
Loading…
Reference in New Issue