projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7631e5d
)
Py3k test fix
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 22 Aug 2008 21:20:57 +0000
(23:20 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 22 Aug 2008 21:20:57 +0000
(23:20 +0200)
tests/compile/pylong.pyx
patch
|
blob
|
history
diff --git
a/tests/compile/pylong.pyx
b/tests/compile/pylong.pyx
index 710938c1ad31cc0b6c958d5b8c93a9a82dee60f7..e16b25474b9d0937026296c7cf139dd213984077 100644
(file)
--- 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])