14
14
15
15
import pytest
16
16
17
- from hypothesis import HealthCheck , assume , example , given , settings , strategies as st
17
+ from hypothesis import assume , example , given , strategies as st
18
18
from hypothesis .errors import StopTest
19
19
from hypothesis .internal .conjecture .data import (
20
20
ConjectureData ,
@@ -367,12 +367,7 @@ def test_data_with_empty_ir_tree_is_overrun():
367
367
assert data .status is Status .OVERRUN
368
368
369
369
370
- # root cause of too_slow is filtering too much via assume in kwargs strategies.
371
- # exacerbated in this test because we draw kwargs twice.
372
- # TODO revisit and improve the kwargs strategies at some point, once the ir
373
- # is further along we can maybe remove e.g. a string assumption.
374
370
@given (st .data ())
375
- @settings (suppress_health_check = [HealthCheck .too_slow ])
376
371
def test_node_with_different_ir_type_is_invalid (data ):
377
372
node = data .draw (ir_nodes ())
378
373
(ir_type , kwargs ) = data .draw (ir_types_and_kwargs ())
@@ -406,7 +401,6 @@ def test_node_with_same_ir_type_but_different_value_is_invalid(data):
406
401
407
402
408
403
@given (st .data ())
409
- @settings (suppress_health_check = [HealthCheck .too_slow ])
410
404
def test_data_with_changed_was_forced (data ):
411
405
# we had a normal node and then tried to draw a different forced value from it.
412
406
# ir tree: v1 [was_forced=False]
@@ -423,7 +417,6 @@ def test_data_with_changed_was_forced(data):
423
417
424
418
425
419
@given (ir_nodes (was_forced = True ))
426
- @settings (suppress_health_check = [HealthCheck .too_slow ])
427
420
def test_data_with_changed_forced_value (node ):
428
421
# we had a forced node and then tried to draw a different forced value from it.
429
422
# ir tree: v1 [was_forced=True]
0 commit comments