Flip equality to use mock calls' __eq__

This commit is contained in:
Elizabeth Uselton 2019-07-10 22:16:01 -07:00
parent 38f44b4a4a
commit 94ddf54c5a
1 changed files with 1 additions and 1 deletions

View File

@ -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