From 2cda189d0fd81fc6f282858d182cc90c05c0f0e5 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 15 May 2020 15:51:25 +0200 Subject: [PATCH] pytest: filter warnings --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tox.ini b/tox.ini index 592b724..07860fc 100644 --- a/tox.ini +++ b/tox.ini @@ -74,3 +74,10 @@ commands = [pytest] junit_family=xunit2 +filterwarnings = + error +# there is nothing we can do about that + ignore:defusedxml.lxml is no longer supported:DeprecationWarning:openpyxl.xml.functions + ignore:Using or importing the ABCs from 'collections':DeprecationWarning:django.* +# remind us later + once:.*staticfiles.*::django\..*