Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53874:2d9fd333072e
Date: 2012-03-21 20:35 +0100
http://bitbucket.org/pypy/pypy/changeset/2d9fd333072e/

Log:    we no longer have oldstyle classes

diff --git a/pypy/objspace/std/test/test_typeobject.py 
b/pypy/objspace/std/test/test_typeobject.py
--- a/pypy/objspace/std/test/test_typeobject.py
+++ b/pypy/objspace/std/test/test_typeobject.py
@@ -499,7 +499,7 @@
 
     def test_abstract_mro(self):
         """
-        class A1:    # old-style class
+        class A1:    # in py3k is a new-style class
             pass
         class B1(A1):
             pass
@@ -509,8 +509,8 @@
             pass
         class E1(D1, object, metaclass=type):
             pass
-        # old-style MRO in the classical part of the parent hierarchy
-        assert E1.__mro__ == (E1, D1, B1, A1, C1, object)
+        # new-style MRO, contrarily to python2
+        assert E1.__mro__ == (E1, D1, B1, C1, A1, object)
         """
 
     def test_nodoc(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to