Py3k test fix
authorStefan Behnel <scoder@users.berlios.de>
Fri, 22 Aug 2008 21:20:57 +0000 (23:20 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 22 Aug 2008 21:20:57 +0000 (23:20 +0200)
tests/compile/pylong.pyx

index 710938c1ad31cc0b6c958d5b8c93a9a82dee60f7..e16b25474b9d0937026296c7cf139dd213984077 100644 (file)
@@ -10,11 +10,11 @@ cdef extern from "longintrepr.h":
     cdef struct _longobject:
         int ob_refcnt 
         PyTypeObject *ob_type
-        int ob_size
+#        int ob_size            # not in Py3k
         unsigned int *ob_digit
 
 def test(temp = long(0)):
     cdef _longobject *l 
     l = <_longobject *> temp 
-    print sizeof(l.ob_size) 
+    #print sizeof(l.ob_size)    # not in Py3k
     print sizeof(l.ob_digit[0])