Author: Armin Rigo <[email protected]>
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'
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to