From 15e7d5c6b14c1c05dbd5a7f44851cee49c859de4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 9 Jun 2023 15:02:30 +0200 Subject: py312: Ignore pytest-benchmark deprecation warning See #7727 and https://github.com/ionelmc/pytest-benchmark/issues/240 --- pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytest.ini b/pytest.ini index 4ea568e92..9db8121b8 100644 --- a/pytest.ini +++ b/pytest.ini @@ -68,4 +68,6 @@ filterwarnings = # 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 + # Python 3.12: https://github.com/ionelmc/pytest-benchmark/issues/240 + ignore:datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version\. Use timezone-aware objects to represent datetimes in UTC. datetime\.now\(datetime\.UTC\)\.:DeprecationWarning:pytest_benchmark\.utils faulthandler_timeout = 90 -- cgit v1.2.3-54-g00ecf