From: Daniele Varrazzo Date: Thu, 13 Jan 2022 15:17:41 +0000 (+0100) Subject: Set asyncio mode in pytest configuration X-Git-Tag: pool-3.1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da482bf71627256b2565098f42d27ed382c7383c;p=thirdparty%2Fpsycopg.git Set asyncio mode in pytest configuration Remove the warning raised in pytest-async >= 0.17.0 if the setting is missing. --- diff --git a/pyproject.toml b/pyproject.toml index cb9993946..2c8dfc050 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,7 @@ build-backend = "setuptools.build_meta" line-length = 79 [tool.pytest.ini_options] +asyncio_mode = "auto" filterwarnings = [ "error", ]