From: Federico Caselli Date: Mon, 15 May 2023 19:00:57 +0000 (+0200) Subject: fix link issue, add ref for pytest-xdist pin X-Git-Tag: rel_2_0_14~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=499c9213744bb2ecab4a6dc2450d2744f8cf30c3;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix link issue, add ref for pytest-xdist pin Change-Id: If565b2b6b968457f221eb84f0270f617618d3319 --- diff --git a/lib/sqlalchemy/util/_concurrency_py3k.py b/lib/sqlalchemy/util/_concurrency_py3k.py index 8d48aeacf2..3544a0fd59 100644 --- a/lib/sqlalchemy/util/_concurrency_py3k.py +++ b/lib/sqlalchemy/util/_concurrency_py3k.py @@ -259,5 +259,5 @@ def get_event_loop() -> asyncio.AbstractEventLoop: return asyncio.get_running_loop() except RuntimeError: # avoid "During handling of the above exception, another exception..." - pass + pass return asyncio.get_event_loop_policy().get_event_loop() diff --git a/tox.ini b/tox.ini index 4f4b064c9a..0bbd76a93c 100644 --- a/tox.ini +++ b/tox.ini @@ -35,6 +35,7 @@ extras= deps= pytest>=7.0.0rc1,<8 + # tracked by https://github.com/pytest-dev/pytest-xdist/issues/907 pytest-xdist!=3.3.0 dbapimain-sqlite: git+https://github.com/omnilib/aiosqlite.git#egg=aiosqlite