

def test_unconsumed_names_kwargs_w_keys(self):
    t = table('t', column('x'), column('y'))
    assert_raises_message(exc.CompileError, 'Unconsumed column names: j', t.update().values(x=5, j=7).compile, column_keys=['j'])

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