From: Benjamin Peterson Date: Tue, 11 May 2010 00:07:48 +0000 (+0000) Subject: remove now useless __ne__ X-Git-Tag: v3.2a1~837 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=899e9a0e7a0e8cd93bc15e3b4a74c479b0de74cd;p=python remove now useless __ne__ --- diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py index cbe8dcbca3..a072cf1897 100644 --- a/Lib/unittest/case.py +++ b/Lib/unittest/case.py @@ -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))