From 2834c3e2cc6a270ca4150c3ca1075be2d2dfacb3 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 2 Jan 2024 17:33:05 +0100 Subject: [PATCH] pytest: don't cast warnings to errors (#1793) --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1305557a780..71c82859090 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -197,9 +197,6 @@ match_dir = "(datamodules|datasets|losses|models|samplers|torchgeo|trainers|tran addopts = "-m 'not slow'" # https://docs.pytest.org/en/latest/how-to/capture-warnings.html filterwarnings = [ - # Treat all warnings as errors - "error", - # Warnings raised by dependencies of dependencies, out of our control # https://github.com/Cadene/pretrained-models.pytorch/issues/221 "ignore:.* is deprecated and will be removed in Pillow 10:DeprecationWarning:pretrainedmodels.datasets.utils",