fix pure Python test
authorStefan Behnel <stefan_ml@behnel.de>
Tue, 30 Oct 2012 16:12:22 +0000 (17:12 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Tue, 30 Oct 2012 16:12:22 +0000 (17:12 +0100)
--HG--
extra : rebase_source : 8127709bcb8f2d8f6cfd91a1e46b16dcb7734765

tests/run/pure_py.py

index 2d34431..4b28608 100644 (file)
@@ -39,7 +39,7 @@ def test_declare(n):
     y = cython.declare(cython.int, n)
     if cython.compiled:
         cython.declare(xx=cython.int, yy=cython.long)
-        i = sizeof(xx)
+        i = cython.sizeof(xx)
     ptr = cython.declare(cython.p_int, cython.address(y))
     return y, ptr[0]