diff options
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r-- | Lib/test/test_descr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 804a5c9..b6ef06d 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -1022,8 +1022,8 @@ order (MRO) for bases """ import sys,gc if hasattr(gc, 'get_objects'): class G(object): - def __cmp__(self, other): - return 0 + def __eq__(self, other): + return False g = G() orig_objects = len(gc.get_objects()) for i in range(10): |