diff --git a/setup.cfg b/setup.cfg index ee57438c..46e7d669 100644 --- a/setup.cfg +++ b/setup.cfg @@ -70,7 +70,10 @@ addopts = -rsx --tb=short testpaths = tests asyncio_mode = auto junit_family=xunit2 -filterwarnings = error - +filterwarnings = + error + # https://github.com/pytest-dev/pytest/issues/10977 + ignore:ast\.(Num|NameConstant|Str).*:DeprecationWarning:_pytest + ignore:Attribute s is deprecated.*:DeprecationWarning:_pytest [flake8] max-line-length = 88