diff --git a/tox.ini b/tox.ini index b13eabd1a..5803f62e8 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,11 @@ envlist = docs [testenv] -commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --coverage {posargs} +commands = + python -W error::DeprecationWarning \ + -W "ignore:'cgi' is deprecated:DeprecationWarning" \ + -W error::PendingDeprecationWarning \ + runtests.py --coverage {posargs} envdir = {toxworkdir}/venvs/{envname} setenv = PYTHONDONTWRITEBYTECODE=1