From a13a43dd12b25b0a5f3158fc82d28233b2b12009 Mon Sep 17 00:00:00 2001 From: Pravin Kamble Date: Fri, 30 Jan 2026 20:09:58 +0530 Subject: [PATCH] ignore coreapi deprecation warnings during test startup --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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