Skip to content

Commit

Permalink
test: remove too_slow healthchecks again
Browse files Browse the repository at this point in the history
  • Loading branch information
hollandjg committed Jan 19, 2024
1 parent 054fd69 commit 05c7b60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/test_state.py
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/test_strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 05c7b60

Please sign in to comment.