error test fixes
authorStefan Behnel <scoder@users.berlios.de>
Sat, 29 Jan 2011 17:46:44 +0000 (18:46 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 29 Jan 2011 17:46:44 +0000 (18:46 +0100)
tests/errors/e_strcoerce.pyx
tests/errors/string_assignments.pyx

index 8de7344fe41912a5bb2d4589763b518c41a18bf7..fa491044c6e72c1c03d133e09fd590177c6d3ff9 100644 (file)
@@ -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.
 """
index 8cc2abf5abf82d4a9a4be5b8fb6212220ef2e4cd..dd8d3aec30a03c42090d8dfa4bc51c70f4238094 100644 (file)
@@ -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'?).