def ast_for_testlist(testlist):
    if isinstance(testlist, list):
        value = ast.Tuple()
        value.elts = testlist
        value.ctx = Load
    else:
        value = testlist
    return value
If the testlist is a list, returns an ast.Tuple with a Load
dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/ast_for_testlist