[pypy-commit] cffi cffi-1.0: fix
arigo
noreply at buildbot.pypy.org
Sat Apr 18 17:58:39 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch: cffi-1.0
Changeset: r1764:82a3a96c61a1
Date: 2015-04-18 17:51 +0200
http://bitbucket.org/cffi/cffi/changeset/82a3a96c61a1/
Log: fix
diff --git a/new/test_verify1.py b/new/test_verify1.py
--- a/new/test_verify1.py
+++ b/new/test_verify1.py
@@ -24,6 +24,12 @@
return super(FFI, self).verify(
*args, extra_compile_args=extra_compile_args, **kwds)
+class U(object):
+ def __add__(self, other):
+ return eval('u'+repr(other).replace(r'\\u', r'\u')
+ .replace(r'\\U', r'\U'))
+u = U()
+
def test_missing_function(ffi=None):
# uses the FFI hacked above with '-Werror'
More information about the pypy-commit
mailing list