From ee40046faf8643046cebf98784d06b9aca671d6b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 11 Apr 2023 16:29:50 +0200 Subject: [PATCH] pytest: Ignore Python 3.12 addDuration warning See https://github.com/pytest-dev/pytest/issues/10875 --- pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytest.ini b/pytest.ini index 46a22c5c8..7a04a7e32 100644 --- a/pytest.ini +++ b/pytest.ini @@ -63,4 +63,6 @@ filterwarnings = default:Test process .* failed to terminate!:UserWarning # https://github.com/certifi/python-certifi/issues/170 ignore:path is deprecated\. Use files\(\) instead\. Refer to https.//importlib-resources\.readthedocs\.io/en/latest/using\.html#migrating-from-legacy for migration advice\.:DeprecationWarning:certifi.core + # WORKAROUND for https://github.com/pytest-dev/pytest/issues/10875 + ignore:TestResult has no addDuration method:RuntimeWarning:unittest.case faulthandler_timeout = 90