[pypy-commit] pypy py3k: Fix CFFI test.

mjacob noreply at buildbot.pypy.org
Thu Jun 18 16:19:13 CEST 2015


Author: Manuel Jacob <me at manueljacob.de>
Branch: py3k
Changeset: r78181:961d5a41abc1
Date: 2015-06-18 14:17 +0200
http://bitbucket.org/pypy/pypy/changeset/961d5a41abc1/

Log:	Fix CFFI test.

diff --git a/pypy/module/_cffi_backend/test/test_ffi_obj.py b/pypy/module/_cffi_backend/test/test_ffi_obj.py
--- a/pypy/module/_cffi_backend/test/test_ffi_obj.py
+++ b/pypy/module/_cffi_backend/test/test_ffi_obj.py
@@ -183,7 +183,7 @@
                                 "       ^")
         e = raises(ffi.error, ffi.cast, "\t\n\x01\x1f~\x7f\x80\xff", 0)
         assert str(e.value) == ("identifier expected\n"
-                                "  ??~???\n"
+                                "  ??~?????\n"
                                 "  ^")
         e = raises(ffi.error, ffi.cast, "X" * 600, 0)
         assert str(e.value) == ("undefined type name")


More information about the pypy-commit mailing list