aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_descr.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r--Lib/test/test_descr.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index c8e3a4be26b..aa801b9c4f7 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -3239,8 +3239,6 @@ class ClassPropertiesAndMethods(unittest.TestCase):
class C(base):
def __init__(self, value):
self.value = int(value)
- def __cmp__(self_, other):
- self.fail("shouldn't call __cmp__")
def __eq__(self, other):
if isinstance(other, C):
return self.value == other.value