projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29945fa
)
fix test after changing type inference for unicode indexing
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 6 Feb 2011 09:14:01 +0000
(10:14 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 6 Feb 2011 09:14:01 +0000
(10:14 +0100)
tests/run/type_inference.pyx
patch
|
blob
|
history
diff --git
a/tests/run/type_inference.pyx
b/tests/run/type_inference.pyx
index 2c5f1809621ee03cb16de1f74dd7893bcef70703..e51e43e464b6d55f3c5360ae11914c19c0ce4c96 100644
(file)
--- 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_U
NICODE
", typeof(u1)
+ assert typeof(u1) == "Py_U
CS4
", 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_U
NICODE
+ Py_U
CS4
"""
cdef unicode ustring = u'abcdefg'
for uchar in ustring: