Skip to content

Commit bea5da1

Browse files
committed
change test_can_produce_large_binary_strings to same parameters as long lists
1 parent acd1fba commit bea5da1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hypothesis-python/tests/quality/test_discovery_ability.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ def long_list(xs):
158158
text(), lambda x: any(ord(c) > 127 for c in x), condition=lambda x: len(x) <= 3
159159
)
160160

161-
test_can_produce_large_binary_strings = define_test(binary(), lambda x: len(x) > 20)
161+
test_can_produce_large_binary_strings = define_test(
162+
binary(), lambda x: len(x) > 10, p=0.3
163+
)
162164

163165
test_can_produce_positive_infinity = define_test(floats(), lambda x: x == math.inf)
164166

0 commit comments

Comments
 (0)