Py3 test case fix
authorStefan Behnel <scoder@users.berlios.de>
Tue, 30 Dec 2008 12:19:55 +0000 (13:19 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Tue, 30 Dec 2008 12:19:55 +0000 (13:19 +0100)
tests/run/forfrom.pyx

index 590f60ca773294e42fc53037fda2841319354404..c4bf96a8890be32b59e172103d64dc765ebdfdbd 100644 (file)
@@ -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: