Skip to content

autocommit_block not working with future mode #944

Closed
@zzzeek

Description

@zzzeek

needs to end the transaction

diff --git a/tests/test_postgresql.py b/tests/test_postgresql.py
index b41c383..8175b54 100644
--- a/tests/test_postgresql.py
+++ b/tests/test_postgresql.py
@@ -433,7 +433,9 @@ class PostgresqlOpTest(TestBase):
         context.assert_("ALTER TABLE t1 ALTER COLUMN some_column %s" % text)
 
 
-class PGAutocommitBlockTest(TestBase):
+from sqlalchemy.testing import fixtures
+
+class PGAutocommitBlockTest(fixtures.FutureEngineMixin, TestBase):
     __only_on__ = "postgresql"
     __backend__ = True

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions