From f76ca90fb8e54513ede8941be3cae2cf53d9eedb Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 6 Feb 2011 10:14:01 +0100 Subject: [PATCH] fix test after changing type inference for unicode indexing --- tests/run/type_inference.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run/type_inference.pyx b/tests/run/type_inference.pyx index 2c5f1809..e51e43e4 100644 --- a/tests/run/type_inference.pyx +++ b/tests/run/type_inference.pyx @@ -98,7 +98,7 @@ def indexing(): u = u"xyz" assert typeof(u) == "unicode object", typeof(u) u1 = u[1] - assert typeof(u1) == "Py_UNICODE", typeof(u1) + assert typeof(u1) == "Py_UCS4", typeof(u1) s = "xyz" assert typeof(s) == "str object", typeof(s) s1 = s[1] @@ -313,7 +313,7 @@ def loop_over_str(): def loop_over_unicode(): """ >>> print( loop_over_unicode() ) - Py_UNICODE + Py_UCS4 """ cdef unicode ustring = u'abcdefg' for uchar in ustring: -- 2.26.2