From db06d24414f518a269a01fd2628ee8497a4dd514 Mon Sep 17 00:00:00 2001 From: Lajos Katona Date: Tue, 20 Nov 2018 17:44:02 +0100 Subject: [PATCH] tox: Hide deprecation warnings Running tox targets on python3 write out a lot of DeprecationWarning, the idea to hide them comes from this patch: https://review.openstack.org/611884 from Stephen Finucane. Change-Id: Id002ced641bba9833a633b331a3aa82ff0252f47 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3db6c7b8377..2db7bb0fa62 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ setenv = VIRTUAL_ENV={envdir} OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:true} OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true} OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true} - PYTHONWARNINGS=default::DeprecationWarning + PYTHONWARNINGS=default::DeprecationWarning,ignore::DeprecationWarning:site passenv = TRACE_FAILONLY GENERATE_HASHES http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY usedevelop = True install_command =