

def test_update_5(self):
    table1 = self.tables.mytable
    table1.assert_compile(update(table1, whereclause=(table1.c.name == bindparam('crit')), values={
        table1.c.name: 'hi',
    }), 'UPDATE mytable SET name=:name WHERE mytable.name = :crit', params={
        'crit': 'notthere',
    }, checkparams={
        'crit': 'notthere',
        'name': 'hi',
    })

dataset/ETHPy150Open zzzeek/sqlalchemy/test/sql/test_update.py UpdateTest.test_update_5/VarMisuse@18/22 `self`->`table1`