Skip to content

Commit aad4098

Browse files
Liam-DeVoeZac-HD
authored andcommitted
remove stale target tests
1 parent 8ad351b commit aad4098

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

hypothesis-python/tests/cover/test_targeting.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -102,21 +102,3 @@ def test_cannot_target_default_label_twice(_):
102102
target(0.0)
103103
with pytest.raises(InvalidArgument):
104104
target(1.0)
105-
106-
107-
@given(st.lists(st.integers()), st.none())
108-
def test_targeting_with_following_empty(ls, n):
109-
# This exercises some logic in the optimiser that prevents it from trying
110-
# to mutate empty examples at the end of the test case.
111-
target(float(len(ls)))
112-
113-
114-
@given(
115-
st.tuples(
116-
*([st.none()] * 10 + [st.integers()] + [st.none()] * 10 + [st.integers()])
117-
)
118-
)
119-
def test_targeting_with_many_empty(_):
120-
# This exercises some logic in the optimiser that prevents it from trying
121-
# to mutate empty examples in the middle of the test case.
122-
target(1.0)

0 commit comments

Comments
 (0)