From 7152b9177bb5553369ebaa0698f66a5414644dc4 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 19 Oct 2018 14:30:48 +0100 Subject: [PATCH] tox: Hide deprecation warnings from stdlib This makes the output sooo much more readable. Change-Id: I3376d2d97ebfd014006e69710c00d859491c92ce Signed-off-by: Stephen Finucane --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 484a518..162724f 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ commands = python setup.py test --slowest --testr-args='{posargs}' [testenv:functional] setenv = VIRTUAL_ENV={envdir} - PYTHONWARNINGS=default::DeprecationWarning + PYTHONWARNINGS=default::DeprecationWarning,ignore::DeprecationWarning:distutils,ignore::DeprecationWarning:site OS_TEST_PATH=./osc_placement/tests/functional # NOTE(rpodolyaka): allow passing of keystone credentials via env variables passenv = OS_*