@@ -34,7 +34,6 @@ def flatten(x):
34
34
max_leaves = size * 2 ,
35
35
),
36
36
lambda x : isinstance (x , list ) and len (flatten (x )) >= size ,
37
- timeout_after = None ,
38
37
)
39
38
assert flatten (xs ) == [0 ] * size
40
39
@@ -46,11 +45,7 @@ def depth(x):
46
45
else :
47
46
return 1
48
47
49
- xs = minimal (
50
- st .recursive (st .integers (), st .lists ),
51
- lambda x : depth (x ) > 1 ,
52
- timeout_after = None ,
53
- )
48
+ xs = minimal (st .recursive (st .integers (), st .lists ), lambda x : depth (x ) > 1 )
54
49
assert xs in ([0 ], [[]])
55
50
56
51
@@ -67,7 +62,6 @@ def breadth(x):
67
62
st .recursive (st .booleans (), lambda x : st .lists (x , max_size = target // 2 )),
68
63
lambda x : breadth (x ) >= target ,
69
64
settings = settings (max_examples = 10000 ),
70
- timeout_after = None ,
71
65
)
72
66
assert breadth (broad ) == target
73
67
@@ -79,7 +73,7 @@ def test_drawing_many_near_boundary():
79
73
lambda x : st .lists (x , min_size = 2 * (size - 1 ), max_size = 2 * size ).map (tuple ),
80
74
max_leaves = 2 * size - 1 ,
81
75
)
82
- ls = minimal (st .lists (elems ), lambda x : len (set (x )) >= size , timeout_after = None )
76
+ ls = minimal (st .lists (elems ), lambda x : len (set (x )) >= size )
83
77
assert len (ls ) == size
84
78
85
79
@@ -117,7 +111,7 @@ def test_can_form_sets_of_recursive_data():
117
111
max_leaves = 20 ,
118
112
)
119
113
)
120
- xs = minimal (trees , lambda x : len (x ) >= size , timeout_after = None )
114
+ xs = minimal (trees , lambda x : len (x ) >= size )
121
115
assert len (xs ) == size
122
116
123
117
0 commit comments