From a3bed22d1a56a799681398a17ffa0f028634675c Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Sun, 10 Mar 2024 17:22:17 -1000 Subject: [PATCH] Enable pytest failures on warnings from cudf (#5796) The test suite will now fail when a warning comes from cudf as apart of https://github.com/rapidsai/build-planning/issues/26. Authors: - Matthew Roeschke (https://github.com/mroeschke) Approvers: - Dante Gama Dessavre (https://github.com/dantegd) URL: https://github.com/rapidsai/cuml/pull/5796 --- python/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/python/pyproject.toml b/python/pyproject.toml index 6b05fd4d72..cfada5541a 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -39,6 +39,7 @@ testpaths = "cuml/tests" filterwarnings = [ "error::FutureWarning:cuml[.*]", # Catch uses of deprecated positional args in testing + "error:::cudf", "ignore:[^.]*ABCs[^.]*:DeprecationWarning:patsy[.*]", "ignore:(.*)alias(.*):DeprecationWarning:hdbscan[.*]", ]