From a6353c452e286f8116bb015704fd4ac70b710758 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 6 Jul 2018 14:00:36 +0100 Subject: [PATCH] tox: Silence warnings from stdlib libraries These are issues with Python 3 libraries so we can't fix them here. Simply silence them. Change-Id: I2bbabc5452257d98ba7da2a6a95bc9926202a9fd --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index da0233aaa7..de4f1b786d 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ setenv = OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=160 - PYTHONWARNINGS=default::DeprecationWarning + PYTHONWARNINGS=default::DeprecationWarning,ignore::DeprecationWarning:distutils,ignore::DeprecationWarning:site passenv = OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_TEST_TIMEOUT OS_TEST_LOCK_PATH TEMPEST_CONFIG TEMPEST_CONFIG_DIR http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY ZUUL_CACHE_DIR REQUIREMENTS_PIP_LOCATION GENERATE_TEMPEST_PLUGIN_LIST usedevelop = True install_command = pip install {opts} {packages}