

def test_update_4(self):
    table1 = self.tables.mytable
    self.assert_compile(update(table1, values={
        table1.c.name: table1.c.myid,
    }), 'UPDATE mytable SET name=mytable.myid')

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