Skip to content

Commit

Permalink
FIX add tests to skip
Browse files Browse the repository at this point in the history
  • Loading branch information
PSSF23 authored Dec 3, 2024
1 parent 418673e commit 2f475b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion treeple/tree/tests/test_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 2f475b4

Please sign in to comment.