diff --git a/tests/parse/templates.py b/tests/parse/templates.py index 169b09c..4ce119b 100644 --- a/tests/parse/templates.py +++ b/tests/parse/templates.py @@ -21,14 +21,6 @@ return (new_data, data) -# Deprecated: Do not use -# Inserts an element randomly between the first and last token of a list -def insert_random_within(draw, list, data): - pos = draw(integers(min_value=1, max_value=(len(list) - 1))) - new_data = list[0:pos] + [data] + list[pos:] - return new_data - - # Tests that something parses correctly # We expect the following behaviour: # - The parse function generates the expected output