Author: Armin Rigo <[email protected]>
Branch:
Changeset: r2880:be4ee14ac677
Date: 2017-02-06 09:10 +0100
http://bitbucket.org/cffi/cffi/changeset/be4ee14ac677/
Log: fix the FakeBackend classes for tests
diff --git a/testing/cffi0/test_cdata.py b/testing/cffi0/test_cdata.py
--- a/testing/cffi0/test_cdata.py
+++ b/testing/cffi0/test_cdata.py
@@ -26,6 +26,8 @@
def _get_types(self):
return "CData", "CType"
+ buffer = "buffer type"
+
class FakeType(object):
def __init__(self, cdecl):
diff --git a/testing/cffi0/test_parsing.py b/testing/cffi0/test_parsing.py
--- a/testing/cffi0/test_parsing.py
+++ b/testing/cffi0/test_parsing.py
@@ -47,6 +47,8 @@
def _get_types(self):
return "CData", "CType"
+ buffer = "buffer type"
+
class FakeType(object):
def __init__(self, cdecl):
self.cdecl = cdecl
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit