mirror of
https://github.com/python/cpython.git
synced 2024-11-25 19:03:49 +08:00
remove now useless __ne__
This commit is contained in:
parent
2b14676f0f
commit
899e9a0e7a
@ -264,9 +264,6 @@ class TestCase(object):
|
||||
|
||||
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 New Issue
Block a user