From 35e9a0579283a535eb30c136723fde01f48a91b8 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Fri, 24 May 2024 10:37:47 +0200 Subject: [PATCH] Do not ignore PytestRemovedIn8Warning. The main point of treating warnings as errors in the tests is to detect deprecation warningns early, so we have time to fix them before they become errors. We should only ignore deprecation warnings in very specific cases where we have ensured that doing so is save and will not cause problems. At the very least, every ignored deprecation warning should come with an issue that describes what is required to fix the problem. --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7deb067b..9854bcf0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,7 +103,6 @@ filterwarnings = [ "ignore:The py23*:DeprecationWarning", "ignore:datetime.datetime.utcfromtimestamp()*:DeprecationWarning", # Pytest Notebook stuff - "ignore:The*:pytest.PytestRemovedIn8Warning", "ignore:Proactor*:RuntimeWarning", ]