summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-05-11 00:07:48 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-05-11 00:07:48 (GMT)
commit899e9a0e7a0e8cd93bc15e3b4a74c479b0de74cd (patch)
tree4648d9d10272e6d1ec3ae4c748ad3d75ffed93c7
parent2b14676f0fa3123ebedd017e7241c812584529ec (diff)
downloadcpython-899e9a0e7a0e8cd93bc15e3b4a74c479b0de74cd.zip
cpython-899e9a0e7a0e8cd93bc15e3b4a74c479b0de74cd.tar.gz
cpython-899e9a0e7a0e8cd93bc15e3b4a74c479b0de74cd.tar.bz2
remove now useless __ne__
-rw-r--r--Lib/unittest/case.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py
index cbe8dcb..a072cf1 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))