From 627a6224399b107b9648c48dbeccc38ce23b8fa4 Mon Sep 17 00:00:00 2001 From: jackwotherspoon Date: Mon, 29 May 2023 18:31:05 +0000 Subject: [PATCH] chore: update test --- test/ext/asyncio/test_engine_py3k.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/test/ext/asyncio/test_engine_py3k.py b/test/ext/asyncio/test_engine_py3k.py index b65faa1755..59d9f99db0 100644 --- a/test/ext/asyncio/test_engine_py3k.py +++ b/test/ext/asyncio/test_engine_py3k.py @@ -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 -- 2.47.3