We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc49c96 commit 4864edfCopy full SHA for 4864edf
tests/robots/test_configuration.py
@@ -159,7 +159,7 @@ def test___setitem__():
159
160
def test___setitem___with_validator():
161
def validator(fixed_length_list, key=None, value=None):
162
- new_fixed_length_list = fixed_length_list.copy()
+ new_fixed_length_list = list(fixed_length_list)
163
if key is not None and value is not None:
164
new_fixed_length_list.__setitem__(key, value)
165
if len(new_fixed_length_list) != len(set(new_fixed_length_list)):
0 commit comments