From 25259b84692bf78038a534d7382dbdb5138703d7 Mon Sep 17 00:00:00 2001 From: Swen Kooij Date: Tue, 2 Jul 2024 06:49:15 +0300 Subject: [PATCH] Silence our own deprecation warning when running the tests --- pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytest.ini b/pytest.ini index 143a359..b1ab484 100644 --- a/pytest.ini +++ b/pytest.ini @@ -3,3 +3,5 @@ DJANGO_SETTINGS_MODULE=settings testpaths=tests addopts=-m "not benchmark" junit_family=legacy +filterwarnings= + ignore::DeprecationWarning:localized_fields.fields.autoslug_field