[pypy-commit] cffi cffi-1.0: add test
arigo
noreply at buildbot.pypy.org
Sat May 9 22:13:45 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch: cffi-1.0
Changeset: r1955:41515ae36671
Date: 2015-05-09 22:14 +0200
http://bitbucket.org/cffi/cffi/changeset/41515ae36671/
Log: add test
diff --git a/_cffi1/test_recompiler.py b/_cffi1/test_recompiler.py
--- a/_cffi1/test_recompiler.py
+++ b/_cffi1/test_recompiler.py
@@ -666,3 +666,5 @@
assert s.x == 42
assert ffi.typeof(lib.f) == ffi.typeof(
"struct foo_s(*)(int, struct bar_s)")
+ s = lib.f(14, {'y': -3})
+ assert s.x == -42
More information about the pypy-commit
mailing list