diff --git a/pyproject.toml b/pyproject.toml index 97fc578..4782106 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,17 @@ Home = "https://github.com/conda/conda-index" [tool.pytest.ini_options] minversion = "7.0" testpaths = ["tests"] +filterwarnings = [ + # elevate conda's deprecated warning to an error + "error::PendingDeprecationWarning:conda", + "error::DeprecationWarning:conda", + # elevate conda-build's deprecated warning to an error + "error::PendingDeprecationWarning:conda_build", + "error::DeprecationWarning:conda_build", + # elevate conda-index's deprecated warning to an error + "error::PendingDeprecationWarning:conda_index", + "error::DeprecationWarning:conda_index", +] [tool.coverage.run] concurrency = ["multiprocessing", "thread"]