]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
chore: update test
authorjackwotherspoon <jackwoth@google.com>
Mon, 29 May 2023 18:31:05 +0000 (18:31 +0000)
committerjackwotherspoon <jackwoth@google.com>
Mon, 29 May 2023 18:31:05 +0000 (18:31 +0000)
test/ext/asyncio/test_engine_py3k.py

index b65faa175563fc9d10f818836c2c28d0e3aed51c..59d9f99db019b2b250b5005bde8a0f76850b488f 100644 (file)
@@ -699,25 +699,6 @@ class AsyncEngineTest(EngineFixture):
         assert engine.echo is True
         assert engine.dialect.is_async is True
 
-    @testing.only_on("postgresql+asyncpg")
-    @async_test
-    async def test_create_async_engine_async_creator_asyncpg(
-        self, async_engine
-    ):
-        async def async_creator():
-            conn = await asyncpg.connect(
-                "postgresql+asyncpg://scott:tiger@127.0.0.1:5432/test"
-            )
-            return conn
-
-        engine = create_async_engine(
-            testing.db.url,
-            async_creator=async_creator,
-        )
-        async with engine.connect() as conn:
-            result = await conn.execute(select(1))
-            eq_(result.scalar(), 1)
-
 
 class AsyncCreatePoolTest(fixtures.TestBase):
     @config.fixture