diff options
Diffstat (limited to 'Lib/test/test_class.py')
-rw-r--r-- | Lib/test/test_class.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py index cabf715..552c521 100644 --- a/Lib/test/test_class.py +++ b/Lib/test/test_class.py @@ -92,10 +92,6 @@ def __float__(self, *args): return 1.0 @trackCall -def __cmp__(self, *args): - return 0 - -@trackCall def __eq__(self, *args): return True @@ -465,11 +461,6 @@ class ClassTests(unittest.TestCase): hash(C0()) # This should work; the next two should raise TypeError - class C1: - def __cmp__(self, other): return 0 - - self.assertRaises(TypeError, hash, C1()) - class C2: def __eq__(self, other): return 1 |