diff options
-rw-r--r-- | mock/mock.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mock/mock.py b/mock/mock.py index c674a85..0239ce7 100644 --- a/mock/mock.py +++ b/mock/mock.py @@ -2057,6 +2057,8 @@ class _ANY(object): def __repr__(self): return '<ANY>' + __hash__ = None + ANY = _ANY() @@ -2199,6 +2201,7 @@ class _Call(tuple): def __ne__(self, other): return not self.__eq__(other) + __hash__ = None def __call__(self, *args, **kwargs): if self.name is None: |