mirror of
https://github.com/python/cpython
synced 2024-09-16 00:07:33 +00:00
remove now useless __ne__
This commit is contained in:
parent
2b14676f0f
commit
899e9a0e7a
|
@ -264,9 +264,6 @@ def __eq__(self, other):
|
|||
|
||||
return self._testMethodName == other._testMethodName
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self == other
|
||||
|
||||
def __hash__(self):
|
||||
return hash((type(self), self._testMethodName))
|
||||
|
||||
|
|
Loading…
Reference in a new issue