

@pytest.mark.parametrize('colnos,constraints,numpredictions', [(colnos, constraints, numpred) for colnos in powerset(range(1, 3)) for constraints in ([None] + list(powerset(range(1, 3)))) for numpred in range(3)])
def test_t1_simulate(colnos, constraints, numpredictions):
    if (len(colnos) == 0):
        return
    with analyzed_bayesdb_generator(t1(), 1, 1) as (bdb, generator_id):
        if (constraints is not None):
            rowid = 1
            constraints = [(i, bayesdb_generator_cell_value(bdb, generator_id, i, rowid)) for i in i]
        bqlfn.bayesdb_simulate(bdb, generator_id, constraints, colnos, numpredictions=numpredictions)

dataset/ETHPy150Open probcomp/bayeslite/tests/test_core.py test_t1_simulate/VarMisuse@143/192 `constraints`->`i`