summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-09-11 11:08:17 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-09-11 11:11:26 +0200
commit96805e7d624ca15713616b2e46df8d651f2cc408 (patch)
tree977ab53d037ca922d5eb88131577c8674159f896
parent98845f275aa33fdea6d418d26e228bb220cd8d4f (diff)
downloadqutebrowser-96805e7d624ca15713616b2e46df8d651f2cc408.tar.gz
qutebrowser-96805e7d624ca15713616b2e46df8d651f2cc408.zip
Remove hypothesis health check suppression
See https://github.com/HypothesisWorks/hypothesis/pull/3734
-rw-r--r--tests/conftest.py15
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')