Author: Antonio Cuni <[email protected]>
Branch:
Changeset: r46007:d4b0a4841f2c
Date: 2011-07-27 10:46 +0200
http://bitbucket.org/pypy/pypy/changeset/d4b0a4841f2c/
Log: another failing test
diff --git a/pypy/module/test_lib_pypy/ctypes_tests/test_callbacks.py
b/pypy/module/test_lib_pypy/ctypes_tests/test_callbacks.py
--- a/pypy/module/test_lib_pypy/ctypes_tests/test_callbacks.py
+++ b/pypy/module/test_lib_pypy/ctypes_tests/test_callbacks.py
@@ -235,3 +235,11 @@
out, err = capsys.readouterr()
assert (out, err) == ("", "")
+ def test_raise_argumenterror(self):
+ py.test.skip('FIXME')
+ def callback(x):
+ pass
+ FUNC = CFUNCTYPE(None, c_void_p)
+ cfunc = FUNC(callback)
+ param = c_uint(42)
+ py.test.raises(ArgumentError, "cfunc(param)")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit