mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Revert "Flip equality to use mock calls' __eq__"
This reverts commit 94ddf54c5a.
This commit is contained in:
parent
b4c7d78c8e
commit
ad99a9d4c2
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ class _CallList(list):
|
|||
|
||||
for i in range(0, len_self - len_value + 1):
|
||||
sub_list = self[i:i+len_value]
|
||||
if value == sub_list:
|
||||
if sub_list == value:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue