Skip to content

Commit

Permalink
add note about health check suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
tybug committed Mar 18, 2024
1 parent e4e612a commit 8d27c5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hypothesis-python/tests/conjecture/test_ir.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@ def test_data_with_empty_ir_tree_is_overrun():
assert data.status is Status.OVERRUN


# root cause of too_slow is filtering too much via assume in kwargs strategies.
# exacerbated in this test because we draw kwargs twice.
# TODO revisit and improve the kwargs strategies at some point, once the ir
# is further along we can maybe remove e.g. a string assumption.
@given(st.data())
@settings(suppress_health_check=[HealthCheck.too_slow])
def test_node_with_different_ir_type_is_invalid(data):
Expand Down

0 comments on commit 8d27c5d

Please sign in to comment.