Author: Antonio Cuni <anto.c...@gmail.com>
Branch: py3k
Changeset: r53071:411bb6d819b1
Date: 2012-03-01 18:14 +0100
http://bitbucket.org/pypy/pypy/changeset/411bb6d819b1/

Log:    __cmp__ is gone, use __eq__ instead for this test

diff --git a/pypy/module/array/test/test_array.py 
b/pypy/module/array/test/test_array.py
--- a/pypy/module/array/test/test_array.py
+++ b/pypy/module/array/test/test_array.py
@@ -450,8 +450,8 @@
 
     def test_compare(self):
         class comparable(object):
-            def __cmp__(self, other):
-                return 0
+            def __eq__(self, other):
+                return True
         class incomparable(object):
             pass
         
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to