[pypy-svn] r64005 - pypy/trunk/pypy/lib/app_test
fijal at codespeak.net
fijal at codespeak.net
Mon Apr 13 01:30:55 CEST 2009
Author: fijal
Date: Mon Apr 13 01:30:54 2009
New Revision: 64005
Modified:
pypy/trunk/pypy/lib/app_test/test_ctypes_support.py
Log:
this might work by chance, but it's far from reliable especially on top
of pypy where really arbitrary code can (and will) execute between
calls.
Modified: pypy/trunk/pypy/lib/app_test/test_ctypes_support.py
==============================================================================
--- pypy/trunk/pypy/lib/app_test/test_ctypes_support.py (original)
+++ pypy/trunk/pypy/lib/app_test/test_ctypes_support.py Mon Apr 13 01:30:54 2009
@@ -1,4 +1,5 @@
+import py
from ctypes import *
try:
from ctypes_support import standard_c_lib, get_errno, set_errno
@@ -7,6 +8,7 @@
def test_stdlib_and_errno():
+ py.test.skip("this is expected on top of pypy, we need to fix ctypes in a way that is now in 2.6 in order to make this reliable")
write = standard_c_lib.write
write.argtypes = [c_int, c_char_p, c_size_t]
write.restype = c_size_t
More information about the Pypy-commit
mailing list