From e9d012b3ccad81f12a7cbb71c79a0836e482e8f2 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Fri, 5 Nov 2021 23:52:04 +0100 Subject: [PATCH] Ignore a `DeprecationWarning` in `pytest` config (#683) This was added in Python 3.10 and needs to be dealt with properly. --- pytest.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pytest.ini b/pytest.ini index 650a369303..1557bcfdd4 100644 --- a/pytest.ini +++ b/pytest.ini @@ -56,6 +56,9 @@ faulthandler_timeout = 30 filterwarnings = error + # FIXME: Address the deprecation warning in Python 3.10 and revert this ignore + ignore:There is no current event loop:DeprecationWarning:proxy.core.acceptor.threadless + junit_duration_report = call # xunit1 contains more metadata than xunit2 so it's better for CI UIs: junit_family = xunit1