projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
746b412
)
test fix for narrow Py3 Unicode builds
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 21 Apr 2011 17:28:56 +0000
(19:28 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 21 Apr 2011 17:28:56 +0000
(19:28 +0200)
tests/run/strliterals.pyx
patch
|
blob
|
history
diff --git
a/tests/run/strliterals.pyx
b/tests/run/strliterals.pyx
index 8d8445796034a331ce42ea74bb052e537df9c248..4312d9887316c4956052ac9260b69677ec4a43c0 100644
(file)
--- a/
tests/run/strliterals.pyx
+++ b/
tests/run/strliterals.pyx
@@
-132,7
+132,8
@@
__doc__ = ur"""
>>> len(bytes_uescape)
28
- >>> (sys.version_info[0] >= 3 and len(str_uescape) == 3 or
+ >>> (sys.version_info[0] >= 3 and sys.maxunicode == 1114111 and len(str_uescape) == 3 or
+ ... sys.version_info[0] >= 3 and sys.maxunicode == 65536 and len(str_uescape) == 4 or
... sys.version_info[0] < 3 and len(str_uescape) == 17 or
... len(str_uescape))
True