summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/mock.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-01-31 10:05:05 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-01-31 10:05:05 (GMT)
commit08448a1f4d57e4dd35936b9e43259438d3246c06 (patch)
tree457d0934f5c53c5acdf93b0a676a0f45cb6ec4fb /Lib/unittest/mock.py
parent57f7db312210fcdc5db00f8e6a67f682ced342e3 (diff)
downloadcpython-08448a1f4d57e4dd35936b9e43259438d3246c06.zip
cpython-08448a1f4d57e4dd35936b9e43259438d3246c06.tar.gz
cpython-08448a1f4d57e4dd35936b9e43259438d3246c06.tar.bz2
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
implementation in issue #21408 they are redundant.
Diffstat (limited to 'Lib/unittest/mock.py')
-rw-r--r--Lib/unittest/mock.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
index 9d9b3e2..3b7c157 100644
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -2015,10 +2015,6 @@ class _Call(tuple):
return (other_args, other_kwargs) == (self_args, self_kwargs)
- def __ne__(self, other):
- return not self.__eq__(other)
-
-
def __call__(self, *args, **kwargs):
if self.name is None:
return _Call(('', args, kwargs), name='()')