summaryrefslogtreecommitdiff
path: root/tests/run/unicode_default_auto_encoding.pyx
blob: 02c7a307cd8883752de5ec8457bcaf743f5c68ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# cython: c_string_type = unicode
# cython: c_string_encoding = default

import sys
if sys.version_info[0] >= 3:
    __doc__ = r"""
        >>> as_objects("ab\xff") == "ab\xff"
        True
        >>> slice_as_objects("ab\xffd", 1, 4) == "b\xff"
        True
        """

include "unicode_ascii_auto_encoding.pyx"