def getdecoded(out):
        try:
            return out.decode("utf-8")
        except __HOLE__:
            return "INTERNAL not-utf8-decodeable, truncated string:\n%s" % (
                    py.io.saferepr(out),)
dataset/ETHPy150Open pytest-dev/pytest/_pytest/pytester.py/getdecoded