From: Stefan Behnel Date: Tue, 30 Dec 2008 12:19:55 +0000 (+0100) Subject: Py3 test case fix X-Git-Tag: 0.11-beta~52 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0ed845211f4c29a367f9925e188c8acf46dad404;p=cython.git Py3 test case fix --- diff --git a/tests/run/forfrom.pyx b/tests/run/forfrom.pyx index 590f60ca..c4bf96a8 100644 --- 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: