[lang-ref] ( hex_to_string ) ( python )

def test_hex_to_string():
    # fromhex + decode
    h = '616263'
    s = bytes.fromhex(h).decode('utf-8')
    assert s == 'abc'