summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.cfg3
-rw-r--r--tests/conftest.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 0ab65b0e..8b03a02a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,6 +2,9 @@
addopts = -q -n3 --strict --no-flaky-report -rfe --failed-first
markers =
expensive: too slow to run during "make smoke"
+# How come this warning is suppressed successfully here, but not in conftest.py??
+filterwarnings =
+ ignore:dns.hash module will be removed:DeprecationWarning
[pep8]
# E265 block comment should start with '# '
diff --git a/tests/conftest.py b/tests/conftest.py
index 2c30a2d7..c883ef7b 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -26,6 +26,7 @@ def set_warnings():
# setuptools/py33compat.py:54: DeprecationWarning: The value of convert_charrefs will become
# True in 3.5. You are encouraged to set the value explicitly.
# unescape = getattr(html, 'unescape', html_parser.HTMLParser().unescape)
+ # How come this warning is successfully suppressed here, but not in setup.cfg??
warnings.filterwarnings(
"ignore",
category=DeprecationWarning,