From 2bdf3ac9b2716752371f4ed54f537c08ca270b53 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 17 Jun 2020 11:23:29 -0700 Subject: better DeprecationWarning filters --- python/pytest.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python/pytest.ini b/python/pytest.ini index 61c9351..b6e5229 100644 --- a/python/pytest.ini +++ b/python/pytest.ini @@ -1,4 +1,3 @@ - [pytest] ignore = setup.py @@ -11,10 +10,12 @@ python_files = *.py addopts = --pylint --pylint-rcfile=.pylintrc --pylint-error-types=EF --pylint-jobs=4 -# these are internal to raven (sentry client) and misaka (Markdown client) +# ignore various third party warnings (in .venv) filterwarnings = ignore:.*common_exception_handling.*StopIteration:PendingDeprecationWarning - ignore:passing extensions and flags as constants is deprecated:DeprecationWarning ignore:.*deprecated and will be removed in Werkzeug 1.0.*:DeprecationWarning + ignore::DeprecationWarning:.*surt + ignore::DeprecationWarning:.*urllib3 + ignore::DeprecationWarning:.*wayback log_level = INFO -- cgit v1.2.3