t.c[name].in_(["some name", "some other_name"])
)
- row = connection.execute(stmt).first()
+ connection.execute(stmt).first()
@testing.fixture
def multirow_fixture(self, metadata, connection):
f"current server capabilities does not support "
f".*RETURNING when executemany is used",
):
- result = connection.execute(
+ connection.execute(
stmt,
[
{id_param_name: 1, "data": "d1"},
is_true(isinstance(res, dict))
else:
with expect_raises(NotImplementedError):
- res = insp.get_table_options(name)
+ insp.get_table_options(name)
@quote_fixtures
@testing.requires.view_column_reflection
is_true(isinstance(res, dict))
else:
with expect_raises(NotImplementedError):
- res = insp.get_table_options("users", schema=schema)
+ insp.get_table_options("users", schema=schema)
@testing.combinations((True, testing.requires.schemas), False)
def test_multi_get_table_options(self, use_schema):
eq_(res, exp)
else:
with expect_raises(NotImplementedError):
- res = insp.get_multi_table_options()
+ insp.get_multi_table_options()
@testing.fixture
def get_multi_exp(self, connection):
)
def test_autoincrement_with_identity(self, connection):
- res = connection.execute(self.tables.tbl.insert(), {"desc": "row"})
+ connection.execute(self.tables.tbl.insert(), {"desc": "row"})
res = connection.execute(self.tables.tbl.select()).first()
eq_(res, (1, "row"))