[pypy-svn] r51616 - pypy/dist/pypy/lib/app_test/ctypes

fijal at codespeak.net fijal at codespeak.net
Tue Feb 19 00:19:33 CET 2008


Author: fijal
Date: Tue Feb 19 00:19:26 2008
New Revision: 51616

Modified:
   pypy/dist/pypy/lib/app_test/ctypes/test_base.py
Log:
adapt the test to what ctypes really does.


Modified: pypy/dist/pypy/lib/app_test/ctypes/test_base.py
==============================================================================
--- pypy/dist/pypy/lib/app_test/ctypes/test_base.py	(original)
+++ pypy/dist/pypy/lib/app_test/ctypes/test_base.py	Tue Feb 19 00:19:26 2008
@@ -16,7 +16,7 @@
 
         x = X()
         assert x.y._base is x
-        assert x.y._index == sizeof(POINTER(c_int))
+        assert x.y._index == 1
     
     def test_array(self):
         X = POINTER(c_int) * 24



More information about the Pypy-commit mailing list