]> granicus.if.org Git - python/commitdiff
remove now useless __ne__
authorBenjamin Peterson <benjamin@python.org>
Tue, 11 May 2010 00:07:48 +0000 (00:07 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 11 May 2010 00:07:48 +0000 (00:07 +0000)
Lib/unittest/case.py

index cbe8dcbca34079c295f43cb38a648b6d053a3ed2..a072cf18979f756428bb150ad3261bdca51e2b37 100644 (file)
@@ -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))