if self.is_sqlalchemy_future:
with testing.expect_raises_message(
sa.exc.InvalidRequestError,
- r"a transaction is already begun for this connection",
+ r".*already",
):
command.upgrade(self.cfg, c)
else:
if self.is_sqlalchemy_future:
with testing.expect_raises_message(
sa.exc.InvalidRequestError,
- r"a transaction is already begun for this connection",
+ r".*already",
):
command.upgrade(self.cfg, c)
else:
if self.is_sqlalchemy_future:
with testing.expect_raises_message(
sa.exc.InvalidRequestError,
- r"a transaction is already begun for this connection",
+ r".*already",
):
command.upgrade(self.cfg, c)
else: