[lang-ref] ( char_to_charcode ) ( python )

def test_char_to_charcode():
    # ord
    assert ord('a') == 97
@pytest.mark.xfail(raises=TypeError, reason='Expected error')
def test_char_to_charcode_alternative():
    ord('ab') # length should be 1