Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r54547:552ef9b9b6d0
Date: 2012-04-19 16:34 +0200
http://bitbucket.org/pypy/pypy/changeset/552ef9b9b6d0/

Log:    comment out an assert which is no longer valid in py3k

diff --git a/pypy/objspace/std/test/test_versionedtype.py 
b/pypy/objspace/std/test/test_versionedtype.py
--- a/pypy/objspace/std/test/test_versionedtype.py
+++ b/pypy/objspace/std/test/test_versionedtype.py
@@ -29,7 +29,9 @@
         btag = w_B.version_tag()
         assert atag is not None
         assert btag is not None
-        assert w_C.version_tag() is None
+        # the following assert is true only in py2 because C is an old-style
+        #class
+        # assert w_C.version_tag() is None
         assert atag is not btag
         w_types = space.appexec([w_A, w_B], """(A, B):
             B.g = lambda self: None
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to