From 2c61ec38b81c0022e448f18c643df0335e27388c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 8 Jun 2023 17:40:00 +0200 Subject: py312: Ignore pytest ast warnings See https://github.com/pytest-dev/pytest/issues/10977 and #7727 --- pytest.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pytest.ini b/pytest.ini index ca7bbe307..4ea568e92 100644 --- a/pytest.ini +++ b/pytest.ini @@ -65,4 +65,7 @@ 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 + # Python 3.12: https://github.com/pytest-dev/pytest/issues/10977 + ignore:ast\.(Str|NameConstant|Num) is deprecated and will be removed in Python 3\.14; use ast\.Constant instead:DeprecationWarning + ignore:Attribute s is deprecated and will be removed in Python 3\.14; use value instead:DeprecationWarning faulthandler_timeout = 90 -- cgit v1.2.3-54-g00ecf