From: Mike Bayer Date: Mon, 29 Aug 2022 16:56:27 +0000 (-0400) Subject: Revert "restore test concurrency" X-Git-Tag: rel_2_0_0b1~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=237969087f286451aee4647a4ff5e391fc2bd8aa;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Revert "restore test concurrency" This reverts commit fa30381444803af15eb128eabd7dd49609716f01. --- diff --git a/test/ext/asyncio/test_engine_py3k.py b/test/ext/asyncio/test_engine_py3k.py index c624c2108f..8e6fdee7d9 100644 --- a/test/ext/asyncio/test_engine_py3k.py +++ b/test/ext/asyncio/test_engine_py3k.py @@ -1,4 +1,3 @@ -import asyncio import inspect as stdlib_inspect from sqlalchemy import Column @@ -507,8 +506,8 @@ class AsyncEngineTest(EngineFixture): @async_test async def test_init_once_concurrency(self, async_engine): async with async_engine.connect() as c1, async_engine.connect() as c2: - coro = asyncio.wait([c1.scalar(select(1)), c2.scalar(select(2))]) - eq_(await coro, [1, 2]) + eq_(await c1.scalar(select(1)), 1) + eq_(await c2.scalar(select(1)), 1) @async_test async def test_connect_ctxmanager(self, async_engine):