Merge #1166 Ignore some SQLAlchemy DeprecationWarnings

This commit is contained in:
Jan Kaluža
2019-03-15 06:47:30 +00:00

View File

@@ -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