From f5c4466ee6cdc653ae5a6186a51952d2faa40908 Mon Sep 17 00:00:00 2001 From: EXPLOSION Date: Fri, 26 May 2023 10:30:53 +0900 Subject: [PATCH] Ignore Pytest deprecation warnings --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4b939510ef..76e4cff9f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,4 +60,9 @@ filterwarnings = [ "error", # https://gitter.im/python-trio/general?at=63bb8d0740557a3d5c688d67 'ignore:You are using cryptography on a 32-bit Python on a 64-bit Windows Operating System. Cryptography will be significantly faster if you switch to using a 64-bit Python.:UserWarning', + # this should remain until https://github.com/pytest-dev/pytest/pull/10894 is merged + 'ignore:ast.Str is deprecated:DeprecationWarning', + 'ignore:Attribute s is deprecated and will be removed:DeprecationWarning', + 'ignore:ast.NameConstant is deprecated:DeprecationWarning', + 'ignore:ast.Num is deprecated:DeprecationWarning' ]