[pypy-svn] pypy default: Updated ctypes test to match new _conv_param signature.

tav commits-noreply at bitbucket.org
Sat Mar 12 20:22:32 CET 2011


Author: tav <tav at espians.com>
Branch: 
Changeset: r42533:fc64e7a76ac7
Date: 2011-03-12 19:22 +0000
http://bitbucket.org/pypy/pypy/changeset/fc64e7a76ac7/

Log:	Updated ctypes test to match new _conv_param signature.

diff --git a/pypy/module/test_lib_pypy/ctypes_tests/test_guess_argtypes.py b/pypy/module/test_lib_pypy/ctypes_tests/test_guess_argtypes.py
--- a/pypy/module/test_lib_pypy/ctypes_tests/test_guess_argtypes.py
+++ b/pypy/module/test_lib_pypy/ctypes_tests/test_guess_argtypes.py
@@ -12,7 +12,7 @@
     from _ctypes.function import CFuncPtr
 
     def guess(value):
-        cobj = CFuncPtr._conv_param(None, value, 0)
+        cobj = CFuncPtr._conv_param(None, value)
         return type(cobj)
 
     assert guess(13) == c_int


More information about the Pypy-commit mailing list