commit | 899e9a0e7a0e8cd93bc15e3b4a74c479b0de74cd | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue May 11 00:07:48 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue May 11 00:07:48 2010 +0000 |
tree | 4648d9d10272e6d1ec3ae4c748ad3d75ffed93c7 | |
parent | 2b14676f0fa3123ebedd017e7241c812584529ec [diff] |
remove now useless __ne__
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 @@ return self._testMethodName == other._testMethodName - def __ne__(self, other): - return not self == other - def __hash__(self): return hash((type(self), self._testMethodName))