Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Typo
  • Loading branch information
sobolevn committed Nov 10, 2022
commit 6cee271065f56b34caff7e4a00fc66558d14cabb
4 changes: 2 additions & 2 deletions Lib/test/test_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ def test_iconcat(self):
data1 = [1, 2, 3]
data2 = ['a', 'b']
res = operator.iconcat(data1, data2)
self.assertEqual(res, [1, 2, 'a', 'b'])
self.assertEqual(data1, [1, 2, 'a', 'b']) # must change
self.assertEqual(res, [1, 2, 3, 'a', 'b'])
self.assertEqual(data1, [1, 2, 3, 'a', 'b']) # must change
self.assertEqual(data2, ['a', 'b']) # must not change

data1 = (1, 2)
Expand Down