Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

pypy/module/_codecs/test/test_locale.py::TestLocaleCodec::()::test_decode_locale_latin1[locale_decoder0]

self = <pypy.module._codecs.test.test_locale.TestLocaleCodec object at 0x00007f9d1b692528>
locale_decoder = <function str_decode_locale_surrogateescape at 0x00007f9d29876188>

    @pytest.mark.parametrize('locale_decoder',
                 (str_decode_locale_surrogateescape, str_decode_locale_strict))
    def test_decode_locale_latin1(self, locale_decoder):
        self.setlocale("fr_FR")
        uni = u"août"
        string = uni.encode('latin1')
>       assert locale_decoder(string) == (uni.encode('utf8'), len(uni))
E       assert ('ao\xed\xb3\xbbt', 4) == ('ao\xc3\xbbt', 4)
E         At index 0 diff: 'ao\xed\xb3\xbbt' != 'ao\xc3\xbbt'
E         Use -v to get the full diff

module/_codecs/test/test_locale.py:77: AssertionError
builder: own-macos-x86-64 build #1208
test: pypy/module/_codecs/test/test_locale/py/TestLocaleCodec/()/test_decode_locale_latin1[locale_decoder0]