[lang-ref] ( string_ends_with ) ( python )

def test_string_ends_with():
    # endswith
    text = 'Good morning'
    s    = 'ing'
    assert text.endswith(s)