Skip to content

Commit f6b2a4e

Browse files
committedAug 24, 2020
chore: Python 2 lists do not have copy()
1 parent fdda119 commit f6b2a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/functional/functional_test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ def cycle_batch_writer_check(raw_table, encrypted_table, initial_actions, initia
530530
for item in items:
531531
writer.put_item(item)
532532

533-
ddb_keys = TEST_BATCH_KEYS.copy()
533+
ddb_keys = copy.copy(TEST_BATCH_KEYS)
534534
encrypted_items = [raw_table.get_item(Key=key, ConsistentRead=True)["Item"] for key in ddb_keys]
535535
check_many_encrypted_items(
536536
actual=encrypted_items, expected=items, attribute_actions=check_attribute_actions, transformer=_nop_transformer

0 commit comments

Comments
 (0)