Commit 78f82600 authored by Stefan Behnel's avatar Stefan Behnel

safety fix for unicode literals test - otherwise fails to print on some platforms

parent 8f8ef5cd
...@@ -74,7 +74,9 @@ __doc__ = br""" ...@@ -74,7 +74,9 @@ __doc__ = br"""
if sys.version_info >= (2,6): if sys.version_info >= (2,6):
# this doesn't work well in older Python versions # this doesn't work well in older Python versions
__doc__ += u"""\ __doc__ += u"""\
>>> wide_literal == u'\U00101234' # unescaped by Cython >>> expected = u'\U00101234' # unescaped by Cython
>>> if wide_literal == expected: print True
... else: print repr(wide_literal), repr(expected)
True True
""" """
......
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