Author: Armin Rigo <[email protected]>
Branch:
Changeset: r2297:059aca3cb3dc
Date: 2015-09-30 17:19 +0200
http://bitbucket.org/cffi/cffi/changeset/059aca3cb3dc/
Log: test fix
diff --git a/testing/cffi0/test_model.py b/testing/cffi0/test_model.py
--- a/testing/cffi0/test_model.py
+++ b/testing/cffi0/test_model.py
@@ -59,7 +59,7 @@
def test_qual_pointer_type():
ptr_type = PointerType(PrimitiveType("long long"), Q_RESTRICT)
- assert ptr_type.get_c_name("") == "long long restrict *"
+ assert ptr_type.get_c_name("") == "long long __restrict *"
assert const_voidp_type.get_c_name("") == "void const *"
def test_unknown_pointer_type():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit