summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-04-11 16:29:50 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-04-11 16:29:50 +0200
commitee40046faf8643046cebf98784d06b9aca671d6b (patch)
tree0bef770437cbdba3732b00916671f4116b0a770d
parente7295740ee58ff01a12beaa925e6492e8882d656 (diff)
downloadqutebrowser-ee40046faf8643046cebf98784d06b9aca671d6b.tar.gz
qutebrowser-ee40046faf8643046cebf98784d06b9aca671d6b.zip
pytest: Ignore Python 3.12 addDuration warning
See https://github.com/pytest-dev/pytest/issues/10875
-rw-r--r--pytest.ini2
1 files changed, 2 insertions, 0 deletions
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