def GetConstName(const_id):
    name = idaapi.get_enum_member_name(const_id)

    if not name:
        return ""
    else:
        return name
Test State.reset().
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetConstName--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/markdown/regression-tests.py/TestBlockParserState.testReset