projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
085d0c5
)
extended test case
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 11 Feb 2010 22:49:42 +0000
(23:49 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 11 Feb 2010 22:49:42 +0000
(23:49 +0100)
tests/run/type_inference.pyx
patch
|
blob
|
history
diff --git
a/tests/run/type_inference.pyx
b/tests/run/type_inference.pyx
index 8517a1039743e839312fe9f19ee0de135d4804b9..7877f2ce20ae9a82f6ac383e2bed8bca553802ac 100644
(file)
--- a/
tests/run/type_inference.pyx
+++ b/
tests/run/type_inference.pyx
@@
-116,7
+116,11
@@
def builtin_type_operations():
assert typeof(u1) == "unicode object", typeof(u1)
u2 = u'a' + u'b'
assert typeof(u2) == "unicode object", typeof(u2)
+ u3 = u'a%s' % u'b'
+ u3 = u'a%s' % 10
+ assert typeof(u3) == "unicode object", typeof(u3)
s1 = "abc %s" % "x"
+ s1 = "abc %s" % 10
assert typeof(s1) == "str object", typeof(s1)
s2 = "abc %s" + "x"
assert typeof(s2) == "str object", typeof(s2)