From 05c7b60146ca86a2ed9ecf49262dd12ca4b5e7d4 Mon Sep 17 00:00:00 2001 From: John Gerrard Holland Date: Fri, 19 Jan 2024 15:12:50 -0500 Subject: [PATCH] test: remove too_slow healthchecks again --- tests/test_state.py | 4 ++-- tests/test_strategies.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_state.py b/tests/test_state.py index f89b52dc..355ab890 100644 --- a/tests/test_state.py +++ b/tests/test_state.py @@ -1,7 +1,7 @@ import logging import pandas as pd -from hypothesis import HealthCheck, given, settings +from hypothesis import Verbosity, given, settings from autora.state import StandardState @@ -12,7 +12,7 @@ @given(standard_state_strategy(), serializer_dump_load_strategy) -@settings(suppress_health_check={HealthCheck.too_slow}, deadline=1000) +@settings(verbosity=Verbosity.verbose) def test_state_serialize_deserialize(o: StandardState, dump_load): o_loaded = dump_load(o) assert o.variables == o_loaded.variables diff --git a/tests/test_strategies.py b/tests/test_strategies.py index 8683762b..29f8e1d7 100644 --- a/tests/test_strategies.py +++ b/tests/test_strategies.py @@ -5,7 +5,7 @@ import pandas as pd import sklearn.dummy import sklearn.linear_model -from hypothesis import HealthCheck, given, settings +from hypothesis import Verbosity, given, settings from hypothesis import strategies as st from hypothesis.extra import numpy as st_np from hypothesis.extra import pandas as st_pd @@ -461,7 +461,7 @@ def standard_state_strategy(draw): return s -@settings(suppress_health_check={HealthCheck.too_slow}) +@settings(verbosity=Verbosity.verbose) @given(standard_state_strategy()) def test_standard_state_strategy_creation(o): assert o