]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Revert "restore test concurrency"
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Aug 2022 16:56:27 +0000 (12:56 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Aug 2022 16:56:27 +0000 (12:56 -0400)
This reverts commit fa30381444803af15eb128eabd7dd49609716f01.

test/ext/asyncio/test_engine_py3k.py

index c624c2108fa6c02da0dfde1fedcca5403bb36cd0..8e6fdee7d9eb6c83bba4049df072260ab1fd49c5 100644 (file)
@@ -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):