Skip to content

Commit 8d27c5d

Browse files
committed
add note about health check suppression
1 parent e4e612a commit 8d27c5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hypothesis-python/tests/conjecture/test_ir.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,10 @@ def test_data_with_empty_ir_tree_is_overrun():
365365
assert data.status is Status.OVERRUN
366366

367367

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

0 commit comments

Comments
 (0)