Commit 62cd5864 authored by Stefan Behnel's avatar Stefan Behnel

more unicode tests

parent 1fb56b22
......@@ -49,13 +49,17 @@ __doc__ = r"""
True
>>> d == u'üÖä'
True
>>> e == u'\x03\x67\xf8\uf8d2Søk ik'
>>> e == u'\x03\x67\xf8\uf8d2Søk ik' # unescaped by Cython
True
>>> f == u'\xf8'
>>> e == u'\\x03\\x67\\xf8\\uf8d2Søk ik' # unescaped by Python
True
>>> f == u'\xf8' # unescaped by Cython
True
>>> f == u'\\xf8' # unescaped by Python
True
>>> add == u'Søk ik' + u'üÖä' + 'abc'
True
>>> null == u'\\x00' # doctest needs a double slash here
>>> null == u'\\x00' # unescaped by Python (required by doctest)
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