Commit 9f5cace1 authored by Stefan Behnel's avatar Stefan Behnel

fix test for Py3.x after breaking it with the Py2.4 fix

parent 117a5caf
......@@ -71,18 +71,18 @@ __doc__ = br"""
True
"""
if sys.version_info[0] >= 3:
__doc__ = __doc__.replace(u" u'", u" '")
else:
__doc__ = __doc__.replace(u" b'", u" '")
if sys.version_info >= (2,6):
# this doesn't work well in older Python versions
__doc__ += u"""
__doc__ += u"""\
>>> wide_literal == u'\U00101234' # unescaped by Cython
True
"""
if sys.version_info[0] >= 3:
__doc__ = __doc__.replace(u" u'", u" '")
else:
__doc__ = __doc__.replace(u" b'", u" '")
sa = 'abc'
ua = u'abc'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment