projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117a5ca
)
fix test for Py3.x after breaking it with the Py2.4 fix
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 17 Jul 2010 14:43:58 +0000
(16:43 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 17 Jul 2010 14:43:58 +0000
(16:43 +0200)
tests/run/unicodeliterals.pyx
patch
|
blob
|
history
diff --git
a/tests/run/unicodeliterals.pyx
b/tests/run/unicodeliterals.pyx
index 9e7c57f857ac0ffdd343406f0bb430a51c5827bc..66f2673440714230db8acbc0a7855a15c89781d2 100644
(file)
--- a/
tests/run/unicodeliterals.pyx
+++ b/
tests/run/unicodeliterals.pyx
@@
-71,18
+71,18
@@
__doc__ = br"""
True
"""
-if sys.version_info[0] >= 3:
- __doc__ = __doc__.replace(u" u'", u" '")
-else:
- __doc__ = __doc__.replace(u" b'", u" '")
-
if sys.version_info >= (2,6):
# this doesn't work well in older Python versions
- __doc__ += u"""
+ __doc__ += u"""
\
>>> wide_literal == u'\U00101234' # unescaped by Cython
True
"""
+if sys.version_info[0] >= 3:
+ __doc__ = __doc__.replace(u" u'", u" '")
+else:
+ __doc__ = __doc__.replace(u" b'", u" '")
+
sa = 'abc'
ua = u'abc'