From 2f475b4dd9326ec5841e2b30de7198c6d6332d39 Mon Sep 17 00:00:00 2001 From: Haoyin Xu Date: Tue, 3 Dec 2024 14:58:01 -0500 Subject: [PATCH] FIX add tests to skip --- treeple/tree/tests/test_tree.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/treeple/tree/tests/test_tree.py b/treeple/tree/tests/test_tree.py index feab02aaf..e9cbe9326 100644 --- a/treeple/tree/tests/test_tree.py +++ b/treeple/tree/tests/test_tree.py @@ -227,7 +227,11 @@ def test_sklearn_compatible_estimator(estimator, check): # TODO: remove when we can replicate the CI error... if isinstance( estimator, (PatchObliqueDecisionTreeClassifier, ExtraObliqueDecisionTreeClassifier) - ) and check.func.__name__ in ["check_fit_score_takes_y"]: + ) and check.func.__name__ in [ + "check_fit_score_takes_y", + "check_sample_weight_equivalence_on_sparse_data", + "check_sample_weight_equivalence_on_dense_data", + ]: pytest.skip() check(estimator)