Author: Armin Rigo <[email protected]>
Branch: wchar_t
Changeset: r539:2608ca1f2be6
Date: 2012-06-27 10:56 +0200
http://bitbucket.org/cffi/cffi/changeset/2608ca1f2be6/
Log: hg merge default
diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -5,8 +5,8 @@
if '__pypy__' in sys.modules:
py.test.skip("C backend in CPython only")
-from _ffi_backend import *
-from _ffi_backend import _getfields, _testfunc
+from _cffi_backend import *
+from _cffi_backend import _getfields, _testfunc
# ____________________________________________________________
@@ -49,7 +49,7 @@
p = new_primitive_type("signed char")
x = cast(p, -65 + 17*256)
assert repr(x) == "<cdata 'signed char' -65>"
- assert repr(type(x)) == "<type '_ffi_backend.CData'>"
+ assert repr(type(x)) == "<type '_cffi_backend.CData'>"
assert int(x) == -65
x = cast(p, -66 + (1<<199)*256)
assert repr(x) == "<cdata 'signed char' -66>"
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit