ignore coreapi deprecation warnings during test startup

This commit is contained in:
Pravin Kamble 2026-01-30 20:09:58 +05:30
parent 2c03b63248
commit a13a43dd12

View File

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