

def test_update_9(self):
    table1 = self.tables.mytable
    s = table1.update((table1.c.myid == 12), values={
        table1.c.name: 'lala',
    })
    c = s.compile(column_keys=['id', 'name'])
    eq_(str(s), str(c))

dataset/ETHPy150Open zzzeek/sqlalchemy/test/sql/test_update.py UpdateTest.test_update_9/original