projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f8ef5c
)
safety fix for unicode literals test - otherwise fails to print on some platforms
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 23 Jul 2010 14:53:53 +0000
(16:53 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 23 Jul 2010 14:53:53 +0000
(16:53 +0200)
tests/run/unicodeliterals.pyx
patch
|
blob
|
history
diff --git
a/tests/run/unicodeliterals.pyx
b/tests/run/unicodeliterals.pyx
index 66f2673440714230db8acbc0a7855a15c89781d2..35d5344380fdc2d351a506e0bb7c36e7f47b62a8 100644
(file)
--- a/
tests/run/unicodeliterals.pyx
+++ b/
tests/run/unicodeliterals.pyx
@@
-74,7
+74,9
@@
__doc__ = br"""
if sys.version_info >= (2,6):
# this doesn't work well in older Python versions
__doc__ += u"""\
- >>> wide_literal == u'\U00101234' # unescaped by Cython
+ >>> expected = u'\U00101234' # unescaped by Cython
+ >>> if wide_literal == expected: print True
+ ... else: print repr(wide_literal), repr(expected)
True
"""