projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed722f
)
Py3 test case fix
author
Stefan Behnel
<scoder@users.berlios.de>
Tue, 30 Dec 2008 12:19:55 +0000
(13:19 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Tue, 30 Dec 2008 12:19:55 +0000
(13:19 +0100)
tests/run/forfrom.pyx
patch
|
blob
|
history
diff --git
a/tests/run/forfrom.pyx
b/tests/run/forfrom.pyx
index 590f60ca773294e42fc53037fda2841319354404..c4bf96a8890be32b59e172103d64dc765ebdfdbd 100644
(file)
--- a/
tests/run/forfrom.pyx
+++ b/
tests/run/forfrom.pyx
@@
-5,6
+5,10
@@
__doc__ = u"""
00*01*02
"""
+import sys
+if sys.version_info[0] >= 3:
+ __doc__ = __doc__.replace(u" u'", u" '").replace(u' u"', u' "')
+
def for_else():
cdef int i, j=0, k=2
for i from 0 <= i < 10: