summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/asyncio.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2021-11-27 09:53:29 +0100
committerMike Bayer <mike_mp@zzzcomputing.com>2021-11-29 16:20:07 -0500
commit2da27bcaa79ab88504a47a24b9d3d70a0a1f37ec (patch)
tree362265f2d3bf5f3c4fc1d405a374036283cfc238 /lib/sqlalchemy/testing/asyncio.py
parent2d185f516bcf08c97f8902218911c0750b6427a7 (diff)
downloadsqlalchemy-2da27bcaa79ab88504a47a24b9d3d70a0a1f37ec.tar.gz
adapt pytest plugin to support pytest v7
Implemented support for the test suite to run correctly under Pytest 7. Previously, only Pytest 6.x was supported for Python 3, however the version was not pinned on the upper bound in tox.ini. Pytest is not pinned in tox.ini to be lower than version 8 so that SQLAlchemy versions released with the current codebase will be able to be tested under tox without changes to the environment. Much thanks to the Pytest developers for their help with this issue. Change-Id: I3b12166199be2b913ee16e78b3ebbff415654396 (cherry picked from commit 7f84297c9947ff8d52b091aedb2a46035791763c)
Diffstat (limited to 'lib/sqlalchemy/testing/asyncio.py')
-rw-r--r--lib/sqlalchemy/testing/asyncio.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/asyncio.py b/lib/sqlalchemy/testing/asyncio.py
index 877d1eb94..b964ac57c 100644
--- a/lib/sqlalchemy/testing/asyncio.py
+++ b/lib/sqlalchemy/testing/asyncio.py
@@ -63,7 +63,6 @@ def _maybe_async_provisioning(fn, *args, **kwargs):
"""
if not ENABLE_ASYNCIO:
-
return fn(*args, **kwargs)
if config.any_async: