From e8fb73cfb0c765c71e50e7bb0ec92d419076201d Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Sat, 27 Nov 2021 09:53:29 +0100 Subject: 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 --- lib/sqlalchemy/testing/asyncio.py | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/sqlalchemy/testing/asyncio.py') 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: -- cgit v1.2.1