• Victor Stinner's avatar
    Fix test_sys for FreeBSD, Solaris and Mac OS X · 8935481c
    Victor Stinner authored
    _Py_char2wchar() (mbctowcs) decodes b'\xff' to '\xff' on FreeBSD, Solaris and
    Mac OS X, even if the locale is C (and the locale encoding is ASCII). Patch
    test_undecodable_code() to support this output and document the two different
    kinds of outputs.
    8935481c
test_sys.py 34 KB