diff --git a/hypothesis-python/src/hypothesis/internal/conjecture/shrinker.py b/hypothesis-python/src/hypothesis/internal/conjecture/shrinker.py index 2927941b85..b83c12efe5 100644 --- a/hypothesis-python/src/hypothesis/internal/conjecture/shrinker.py +++ b/hypothesis-python/src/hypothesis/internal/conjecture/shrinker.py @@ -1391,14 +1391,5 @@ def non_zero_suffix(b): return b[i:] -def expand_region(f, a, b): - """Attempts to find u, v with u <= a, v >= b such that f(u, v) is true. - Assumes that f(a, b) is already true. - """ - b += find_integer(lambda k: f(a, b + k)) - a -= find_integer(lambda k: f(a - k, b)) - return (a, b) - - class StopShrinking(Exception): pass