summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-06-08 17:40:00 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-06-08 17:41:10 +0200
commit2c61ec38b81c0022e448f18c643df0335e27388c (patch)
tree3a981f774236d75adb91890b939b0d20df0061e5
parent0b0401f8bb23fa57bac13e14b522c9755cba05f7 (diff)
downloadqutebrowser-2c61ec38b81c0022e448f18c643df0335e27388c.tar.gz
qutebrowser-2c61ec38b81c0022e448f18c643df0335e27388c.zip
py312: Ignore pytest ast warnings
See https://github.com/pytest-dev/pytest/issues/10977 and #7727
-rw-r--r--pytest.ini3
1 files changed, 3 insertions, 0 deletions
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