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)
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]