diff options
Diffstat (limited to 'tests/run/unicodeliterals.pyx')
-rw-r--r-- | tests/run/unicodeliterals.pyx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/run/unicodeliterals.pyx b/tests/run/unicodeliterals.pyx index 7d4806ef1..9a9b20142 100644 --- a/tests/run/unicodeliterals.pyx +++ b/tests/run/unicodeliterals.pyx @@ -87,11 +87,7 @@ __doc__ = br""" True >>> ustring_in_constant_tuple == ('a', u'abc', u'\\N{SNOWMAN}', u'x' * 3, u'\\N{SNOWMAN}' * 4 + u'O') or ustring_in_constant_tuple # unescaped by Python True -""" -if sys.version_info >= (2,6,5): - # this doesn't work well in older Python versions - __doc__ += u"""\ >>> expected = u'\U00101234' # unescaped by Cython >>> if wide_literal == expected: print(True) ... else: print(repr(wide_literal), repr(expected), sys.maxunicode) |