Author: Armin Rigo <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit