From 637cf89dbd99bd71b926475b3178aba2a182b034 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Thu, 7 Oct 2021 17:21:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Correct=20DeprecationWarning=20c?= =?UTF-8?q?onfig=20and=20comment=20in=20pytest=20settings=20(#4008)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sebastián Ramírez --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 73a020109..d06f33500 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -139,9 +139,8 @@ xfail_strict = true junit_family = "xunit2" filterwarnings = [ "error", - 'ignore:"@coroutine" decorator is deprecated since Python 3\.8, use "async def" instead:DeprecationWarning', - # TODO: needed by AnyIO in Python 3.9, try to remove after an AnyIO upgrade - 'ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10:DeprecationWarning', + # TODO: needed by asyncio in Python 3.9.7 https://bugs.python.org/issue45097, try to remove on 3.9.8 + 'ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10:DeprecationWarning:asyncio', # TODO: if these ignores are needed, enable them, otherwise remove them # 'ignore:The explicit passing of coroutine objects to asyncio\.wait\(\) is deprecated since Python 3\.8:DeprecationWarning', # 'ignore:Exception ignored in.