[lang-ref] ( get_type_name ) ( python )

def test_get_type_name():
    o = 'abc'

    assert type(o).__name__     == 'str'
    assert o.__class__.__name__ == 'str'