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

pypy/module/_multibytecodec/test/test_app_codecs.py::AppTestCodecs::()::test_streaming_codec

self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x000000014130a790>

    def test_streaming_codec(self):
            test_0 = u'\uc5fc\u76d0\u5869\u9e7d\u477c\u4e3d/\u3012'
            test_1 = u'\u4ee4\u477c\u3080\u304b\u3057\u3080\u304b\u3057\u3042\u308b\u3068\u3053\u308d\u306b'
            test_2 = u' foo = "Quoted string ****\u4ee4\u477c" '
    
            ereplace = {'errors': 'replace'}
            exml = {'errors': 'xmlcharrefreplace'}
            for codec in ("iso-2022-jp", "iso-2022-jp-ext", "iso-2022-jp-1",
                          "iso-2022-jp-2", "iso-2022-jp-3", "iso-2022-jp-2004",
                          "iso-2022-kr",
                         ):
    
                out_1 = test_1.encode(codec, **ereplace).decode(codec, **ereplace)
>               assert out_1.endswith(u'\u3080\u304b\u3057\u3080\u304b\u3057\u3042\u308b\u3068\u3053\u308d\u306b')
E               (application-level) AssertionError: assert <bound method unicode.endswith of u'\u4ee4?\u3080\u304b\u3080\u304b\u3042\u308b\u3068\u3053\u308d\u306b'>(u'\u3080\u304b\u3057\u3080\u304b\u3057\u3042\u308b\u3068\u3053\u308d\u306b')
E                +  where <bound method unicode.endswith of u'\u4ee4?\u3080\u304b\u3080\u304b\u3042\u308b\u3068\u3053\u308d\u306b'> = u'\u4ee4?\u3080\u304b\u3080\u304b\u3042\u308b\u3068\u3053\u308d\u306b'.endswith

[/Users/matti/build-worker-arm64/own-macos-arm64/build/pypy/module/_multibytecodec/test/test_app_codecs.py:119]:14: AssertionError
builder: own-macos-arm64 build #1205
test: pypy/module/_multibytecodec/test/test_app_codecs/py/AppTestCodecs/()/test_streaming_codec