

@testing.requires.update_from
def test_exec_two_table(self):
    (users, addresses) = (self.tables.users, self.tables.addresses)
    testing.db.execute(addresses.update().values(email_address=users.c.name).where((users.c.id == addresses.c.user_id)).where((addresses.c.name == 'ed')))
    expected = [(1, 7, 'x', 'jack@bean.com'), (2, 8, 'x', 'ed'), (3, 8, 'x', 'ed'), (4, 8, 'x', 'ed'), (5, 9, 'x', 'fred@fred.com')]
    self._assert_addresses(addresses, expected)

dataset/ETHPy150Open zzzeek/sqlalchemy/test/sql/test_update.py UpdateFromRoundTripTest.test_exec_two_table/VarMisuse@80/87 `users`->`addresses`