[pypy-svn] r52977 - pypy/dist/pypy/lib/app_test/ctypes
fijal at codespeak.net
fijal at codespeak.net
Thu Mar 27 03:53:55 CET 2008
Author: fijal
Date: Thu Mar 27 03:53:53 2008
New Revision: 52977
Modified:
pypy/dist/pypy/lib/app_test/ctypes/test_parameters.py
Log:
review those tests.
Modified: pypy/dist/pypy/lib/app_test/ctypes/test_parameters.py
==============================================================================
--- pypy/dist/pypy/lib/app_test/ctypes/test_parameters.py (original)
+++ pypy/dist/pypy/lib/app_test/ctypes/test_parameters.py Thu Mar 27 03:53:53 2008
@@ -22,7 +22,7 @@
def test_subclasses(self):
- py.test.skip("subclassing problems")
+ py.test.skip("XXX subclassing problem")
from ctypes import c_void_p, c_char_p
# ctypes 0.9.5 and before did overwrite from_param in SimpleType_new
class CVOIDP(c_void_p):
@@ -52,7 +52,7 @@
# XXX Replace by c_char_p tests
def test_cstrings(self):
- py.test.skip("XXX fails")
+ py.test.skip("Implementation specific IMO")
from ctypes import c_char_p, byref
# c_char_p.from_param on a Python String packs the string
@@ -91,7 +91,6 @@
assert type(pa) == c_wchar_p
def test_int_pointers(self):
- py.test.skip("from_param problems")
from ctypes import c_short, c_uint, c_int, c_long, POINTER, pointer
LPINT = POINTER(c_int)
@@ -152,7 +151,7 @@
## check_perf()
def test_noctypes_argtype(self):
- py.test.skip("from_param problems")
+ py.test.skip("We implement details differently")
from ctypes import CDLL, c_void_p, ArgumentError
import conftest
dll = CDLL(str(conftest.sofile))
More information about the Pypy-commit
mailing list