From b6227945868a58c80e685ae9c263671b70e46dbd Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 29 Jan 2011 18:46:44 +0100 Subject: [PATCH] error test fixes --- tests/errors/e_strcoerce.pyx | 2 +- tests/errors/string_assignments.pyx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'?). -- 2.26.2