From 9b5eeb765228fbaba092215ef5a1183c2510a653 Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Fri, 22 Oct 2021 18:51:20 -0700 Subject: [PATCH] fix(pytest): ignore asyncio.base_events deprecation warnings This deprecation warning is not fixed in a tagged release yet. Ignoring it for now; it has nothing to do with user code. Upstream bug at https://bugs.python.org/issue45097 Signed-off-by: Kevin Morris --- pytest.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 00000000..510447c9 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,10 @@ +[pytest] +# Ignore the following DeprecationWarning(s): +# - asyncio.base_events +# - DeprecationWarning speaking about internal asyncio +# using the loop= argument being deprecated starting +# with python 3.8, before python 3.10. +# - Note: This is a bug in upstream filed at +# https://bugs.python.org/issue45097 +filterwarnings = + ignore::DeprecationWarning:asyncio.base_events