From 62cd58645b1625bc09ee20fb777bbb85212be5c0 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 9 Apr 2008 20:15:20 +0200 Subject: [PATCH] more unicode tests --- tests/run/unicodeliterals.pyx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 """ -- 2.26.2