aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-17 11:23:29 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-17 11:23:29 -0700
commit2bdf3ac9b2716752371f4ed54f537c08ca270b53 (patch)
tree4529da4d2e401ae37bc0db70eba213cee8f7ab29 /python
parent739dd9b9c10d996d8246adf61d5623dcf7a51552 (diff)
downloadsandcrawler-2bdf3ac9b2716752371f4ed54f537c08ca270b53.tar.gz
sandcrawler-2bdf3ac9b2716752371f4ed54f537c08ca270b53.zip
better DeprecationWarning filters
Diffstat (limited to 'python')
-rw-r--r--python/pytest.ini7
1 files 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