

def test_unconsumed_names_values_dict(self):
    t = table('t', column('x'), column('y'))
    t2 = table('t2', column('q'), column('z'))
    assert_raises_message(exc.CompileError, 'Unconsumed column names: j', t.update().values(x=5, j=7).values({
        t.c.z: 5,
    }).where((t.c.x == t2.c.q)).compile)

dataset/ETHPy150Open zzzeek/sqlalchemy/test/sql/test_update.py UpdateTest.test_unconsumed_names_values_dict/VarMisuse@73/107 `t2`->`t`