From: Stefan Behnel Date: Wed, 9 Apr 2008 18:15:20 +0000 (+0200) Subject: more unicode tests X-Git-Tag: 0.9.6.14~20^2~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62cd58645b1625bc09ee20fb777bbb85212be5c0;p=cython.git more unicode tests --- diff --git a/tests/run/unicodeliterals.pyx b/tests/run/unicodeliterals.pyx index d0c4db8f..436f20ae 100644 --- a/tests/run/unicodeliterals.pyx +++ b/tests/run/unicodeliterals.pyx @@ -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 """