more unicode tests
authorStefan Behnel <scoder@users.berlios.de>
Wed, 9 Apr 2008 18:15:20 +0000 (20:15 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 9 Apr 2008 18:15:20 +0000 (20:15 +0200)
tests/run/unicodeliterals.pyx

index d0c4db8f69fcab242d279a3ca9ddce9156dae682..436f20aedebaeb8176d65da804a8691c7b948d4f 100644 (file)
@@ -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
 """