diff --git a/hypothesis-python/src/hypothesis/internal/conjecture/shrinker.py b/hypothesis-python/src/hypothesis/internal/conjecture/shrinker.py index 9543c02e3e..aaa8f0d66d 100644 --- a/hypothesis-python/src/hypothesis/internal/conjecture/shrinker.py +++ b/hypothesis-python/src/hypothesis/internal/conjecture/shrinker.py @@ -689,7 +689,6 @@ def greedy_shrink(self): "redistribute_block_pairs", "lower_blocks_together", ] - + [dfa_replacement(n) for n in SHRINKING_DFAS] ) @derived_value # type: ignore diff --git a/hypothesis-python/tests/cover/test_simple_collections.py b/hypothesis-python/tests/cover/test_simple_collections.py index 1ddb884d46..168205aea5 100644 --- a/hypothesis-python/tests/cover/test_simple_collections.py +++ b/hypothesis-python/tests/cover/test_simple_collections.py @@ -106,9 +106,6 @@ def test_sets_of_fixed_length(n): if n == 0: assert x == set() - elif n == 3: - # very much a hack for growing pains while we migrate the shrinker to the ir! - assert x == {-2, 0, 1} else: assert x == set(range(min(x), min(x) + n)) diff --git a/hypothesis-python/tests/quality/test_poisoned_lists.py b/hypothesis-python/tests/quality/test_poisoned_lists.py index 0d96e32c07..4ff530dbd9 100644 --- a/hypothesis-python/tests/quality/test_poisoned_lists.py +++ b/hypothesis-python/tests/quality/test_poisoned_lists.py @@ -67,7 +67,7 @@ def do_draw(self, data): @pytest.mark.parametrize("size", [5, 10, 20]) @pytest.mark.parametrize("p", [0.01, 0.1]) @pytest.mark.parametrize("strategy_class", [LinearLists, Matrices]) -def test_minimal_poisoned_containers(seed, size, p, strategy_class, monkeypatch): +def test_minimal_poisoned_containers(seed, size, p, strategy_class): elements = Poisoned(p) strategy = strategy_class(elements, size)