From: Stefan Behnel Date: Sat, 29 Jan 2011 17:46:44 +0000 (+0100) Subject: error test fixes X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b6227945868a58c80e685ae9c263671b70e46dbd;p=cython.git error test fixes --- diff --git a/tests/errors/e_strcoerce.pyx b/tests/errors/e_strcoerce.pyx index 8de7344f..fa491044 100644 --- a/tests/errors/e_strcoerce.pyx +++ b/tests/errors/e_strcoerce.pyx @@ -13,5 +13,5 @@ _ERRORS = """ 2:14: Only single-character string literals can be coerced into ints. 3:14: Only single-character string literals can be coerced into ints. 6:15: Only single-character string literals can be coerced into ints. -9:14: Unicode literals do not support coercion to C types other than Py_UNICODE. +9:14: Unicode literals do not support coercion to C types other than Py_UNICODE or Py_UCS4. """ diff --git a/tests/errors/string_assignments.pyx b/tests/errors/string_assignments.pyx index 8cc2abf5..dd8d3aec 100644 --- a/tests/errors/string_assignments.pyx +++ b/tests/errors/string_assignments.pyx @@ -50,7 +50,7 @@ cdef list l_f2 = b1 cdef list l_f3 = u1 _ERRORS = u""" -25:20: Unicode literals do not support coercion to C types other than Py_UNICODE. +25:20: Unicode literals do not support coercion to C types other than Py_UNICODE or Py_UCS4. 26:22: Unicode objects do not support coercion to C types. 27:22: 'str' objects do not support coercion to C types (use 'bytes'?).