summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2022-08-26 19:43:46 +0000
committerGerrit Code Review <gerrit@ci3.zzzcomputing.com>2022-08-26 19:43:46 +0000
commit231262d4782fc4d1a5d5fdbf985a06e04270e878 (patch)
tree85caa0e6c8eedaadf627273bbc97d45f3829c5b8 /test
parent5c7ab1f808b20fe5e58d83a738b201a7eaa8973f (diff)
parente14a8e3295d289e256bf236d0461034f35b7fcc3 (diff)
downloadsqlalchemy-231262d4782fc4d1a5d5fdbf985a06e04270e878.tar.gz
Merge "try out greenlet / cython on py311" into main
Diffstat (limited to 'test')
-rw-r--r--test/ext/asyncio/test_engine_py3k.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ext/asyncio/test_engine_py3k.py b/test/ext/asyncio/test_engine_py3k.py
index a54c39981..8e6fdee7d 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,7 +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:
- await asyncio.wait([c1, c2])
+ eq_(await c1.scalar(select(1)), 1)
+ eq_(await c2.scalar(select(1)), 1)
@async_test
async def test_connect_ctxmanager(self, async_engine):