From a8945a75d09be9c7f35c51763f41c4256511ef5c Mon Sep 17 00:00:00 2001 From: "David R. MacIver" Date: Fri, 10 Jul 2020 09:55:53 +0100 Subject: [PATCH] Increase ascii bias a bit --- .../src/hypothesis/strategies/_internal/strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypothesis-python/src/hypothesis/strategies/_internal/strings.py b/hypothesis-python/src/hypothesis/strategies/_internal/strings.py index 73854cbd90..e159f4a2a1 100644 --- a/hypothesis-python/src/hypothesis/strategies/_internal/strings.py +++ b/hypothesis-python/src/hypothesis/strategies/_internal/strings.py @@ -67,7 +67,7 @@ def __init__( def do_draw(self, data): if len(self.intervals) > 256: - if biased_coin(data, 0.1): + if biased_coin(data, 0.2): i = integer_range(data, 256, len(self.intervals) - 1) else: i = integer_range(data, 0, 255)