From be5e6945a79c7e2c78156ee951fc4333a60b115e Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 24 Jul 2018 14:28:07 +0100 Subject: [PATCH] tox: Silence psycopg2 warnings There's nothing we can do to fix this so simply silence it until we no longer support that version. Change-Id: Ic7a199a1374e6f36c092e5ca6faa435aa5bf4cbd --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index a56b82cbe8..242ba3e6d3 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,8 @@ setenv = OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=160 +# TODO(stephenfin): Remove psycopg2 when minimum constraints is bumped to 2.8 + PYTHONWARNINGS = ignore::UserWarning:psycopg2 deps = -r{toxinidir}/test-requirements.txt commands = find . -type f -name "*.pyc" -delete