summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 424c92c91..d0edc0600 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -33,19 +33,23 @@ _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=[hypothesis.HealthCheck.function_scoped_fixture],
+ suppress_health_check=suppressed_health_checks,
)
)
hypothesis.settings.register_profile(
'ci', hypothesis.settings(
deadline=None,
- suppress_health_check=[
- hypothesis.HealthCheck.function_scoped_fixture,
- hypothesis.HealthCheck.too_slow,
- ]
+ suppress_health_check=
+ suppressed_health_checks +
+ [hypothesis.HealthCheck.too_slow],
)
)
hypothesis.settings.load_profile('ci' if testutils.ON_CI else 'default')