Flip equality to use mock calls' __eq__
This commit is contained in:
parent
38f44b4a4a
commit
94ddf54c5a
|
@ -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 sub_list == value:
|
||||
if value == sub_list:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in New Issue