diff options
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 6e948a3c9..2fea48c43 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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') |