Skip to content

Commit d5dce3f

Browse files
committed
Fix test_thread()
1 parent 37ab323 commit d5dce3f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Lib/test/test_capi/test_set.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,9 @@ def test_thread(self):
424424
def thread_func(writer):
425425
writer.add('a')
426426
writer.add_steal('b')
427-
writer.update(['c'])
428-
writer.update_array(['d'])
429-
writer.update_array_steal(['e'])
427+
writer.update(('c',))
428+
writer.update_array(('d',))
429+
writer.update_array_steal(('e',))
430430

431431
thread = threading.Thread(target=thread_func, args=(writer,))
432432
thread.start()

0 commit comments

Comments
 (0)