summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-06-09 15:02:30 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-06-09 15:02:30 +0200
commit15e7d5c6b14c1c05dbd5a7f44851cee49c859de4 (patch)
tree76854028fae388133d0271b1dc2cef29c57b8ed0
parent0fe03ae475441c7f9579f924e03df52e53fea943 (diff)
downloadqutebrowser-15e7d5c6b14c1c05dbd5a7f44851cee49c859de4.tar.gz
qutebrowser-15e7d5c6b14c1c05dbd5a7f44851cee49c859de4.zip
py312: Ignore pytest-benchmark deprecation warning
See #7727 and https://github.com/ionelmc/pytest-benchmark/issues/240
-rw-r--r--pytest.ini2
1 files changed, 2 insertions, 0 deletions
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