Skip to content

Commit ba340ca

Browse files
committed
remove copy of existing function
1 parent 0a43284 commit ba340ca

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/dataconverter/test_validation.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,6 @@ def compress_paths_in_dict(data_dict: Template, paths=list[str]):
7070
return None
7171

7272

73-
def alter_dict(data_dict: Template, key: str, value: object):
74-
"""Helper function to alter a single entry in dict for parametrize."""
75-
if data_dict is not None:
76-
internal_dict = Template(data_dict)
77-
internal_dict[key] = value
78-
return internal_dict
79-
80-
return None
81-
82-
8373
def remove_from_dict(data_dict: Template, key: str, optionality: str = "optional"):
8474
"""Helper function to remove a key from dict"""
8575
if data_dict is not None and key in data_dict[optionality]:

0 commit comments

Comments
 (0)