From 14f1b582c928a417908bfcad7beafa37622f49db Mon Sep 17 00:00:00 2001 From: Filip Valder Date: Tue, 12 Mar 2019 22:00:53 +0100 Subject: [PATCH] Ignore some SQLAlchemy DeprecationWarnings --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 31e25d4f..8ef166c4 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,10 @@ usedevelop = true sitepackages = true deps = -r{toxinidir}/test-requirements.txt commands = - py.test -v {posargs} + py.test -v \ + -W "ignore:Use .persist_selectable:DeprecationWarning" \ + -W "ignore:The ConnectionEvents.dbapi_error() event is deprecated and will be removed in a future release. Please refer to the ConnectionEvents.handle_error() event.:DeprecationWarning" \ + {posargs} [testenv:coverage] basepython = python2