From 14f1b582c928a417908bfcad7beafa37622f49db Mon Sep 17 00:00:00 2001 From: Filip Valder Date: Mar 12 2019 21:00:53 +0000 Subject: Ignore some SQLAlchemy DeprecationWarnings --- diff --git a/tox.ini b/tox.ini index 31e25d4..8ef166c 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