From 54ab9f4c0dd22c1428358704caec75016ce2e465 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 22 Aug 2008 23:20:57 +0200 Subject: [PATCH] Py3k test fix --- tests/compile/pylong.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/compile/pylong.pyx b/tests/compile/pylong.pyx index 710938c1..e16b2547 100644 --- a/tests/compile/pylong.pyx +++ b/tests/compile/pylong.pyx @@ -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]) -- 2.26.2