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