[pypy-commit] cffi default: fix the FakeBackend classes for tests
arigo
pypy.commits at gmail.com
Mon Feb 6 03:13:44 EST 2017
Author: Armin Rigo <arigo at tunes.org>
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
More information about the pypy-commit
mailing list