From: Gord Thompson Date: Sat, 23 Oct 2021 17:24:40 +0000 (-0600) Subject: Remove code to force ENABLE_ASYNCIO to False X-Git-Tag: rel_1_7_5~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f99ba5d06d646eef03bd3848fae579d0f51e2f6;p=thirdparty%2Fsqlalchemy%2Falembic.git Remove code to force ENABLE_ASYNCIO to False Forcing ENABLE_ASYNCIO to False was interfering with testing under async drivers when the (third-party dialect) test suite included both SQLAlchemy and Alembic tests. Change-Id: I2fe40049c24ba8eba0a10011849a912c03aa381e --- diff --git a/alembic/testing/__init__.py b/alembic/testing/__init__.py index 98ef82da..0407adfe 100644 --- a/alembic/testing/__init__.py +++ b/alembic/testing/__init__.py @@ -27,10 +27,3 @@ from .assertions import is_true from .assertions import ne_ from .fixtures import TestBase from .util import resolve_lambda - -try: - from sqlalchemy.testing import asyncio -except ImportError: - pass -else: - asyncio.ENABLE_ASYNCIO = False