[pypy-commit] cffi default: Improve the test
arigo
noreply at buildbot.pypy.org
Fri Jul 27 18:55:23 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r728:94d5dd3829ae
Date: 2012-07-27 18:39 +0200
http://bitbucket.org/cffi/cffi/changeset/94d5dd3829ae/
Log: Improve the test
diff --git a/testing/test_verify.py b/testing/test_verify.py
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -583,6 +583,7 @@
""")
s = ffi.new("struct foo_s *", [100, 1])
assert lib.foo(s[0]) == 99
+ assert lib.foo([100, 1]) == 99
def test_autofilled_struct_as_argument_dynamic():
ffi = FFI()
More information about the pypy-commit
mailing list