Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r1125:b9ebe6faeed2
Date: 2013-02-07 20:03 +0100
http://bitbucket.org/cffi/cffi/changeset/b9ebe6faeed2/

Log:    Python 3 compat

diff --git a/testing/test_verify.py b/testing/test_verify.py
--- a/testing/test_verify.py
+++ b/testing/test_verify.py
@@ -1502,6 +1502,6 @@
             return f[0] + f[1] + f[2];
         }
     """)
-    assert lib.sum3chars(('\x10', '\x20', '\x30')) == '\x60'
-    p = ffi.new("char[]", '\x10\x20\x30')
-    assert lib.sum3chars(p) == '\x60'
+    assert lib.sum3chars((b'\x10', b'\x20', b'\x30')) == b'\x60'
+    p = ffi.new("char[]", b'\x10\x20\x30')
+    assert lib.sum3chars(p) == b'\x60'
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to