diff --git a/sklearn/ensemble/_forest.py b/sklearn/ensemble/_forest.py index 99aa86157d6e9..3a8e4d86a66e0 100644 --- a/sklearn/ensemble/_forest.py +++ b/sklearn/ensemble/_forest.py @@ -2161,11 +2161,11 @@ def __init__( def __sklearn_tags__(self): tags = super().__sklearn_tags__() # TODO: replace by a statistical test, see meta-issue #16298 - tags._xfail_checks = { - "check_sample_weight_equivalence": ( - "sample_weight is not equivalent to removing/repeating samples." - ), - } + # tags._xfail_checks = { + # "check_sample_weight_equivalence": ( + # "sample_weight is not equivalent to removing/repeating samples." + # ), + # } return tags @@ -2548,11 +2548,11 @@ def __init__( def __sklearn_tags__(self): tags = super().__sklearn_tags__() # TODO: replace by a statistical test, see meta-issue #16298 - tags._xfail_checks = { - "check_sample_weight_equivalence": ( - "sample_weight is not equivalent to removing/repeating samples." - ), - } + # tags._xfail_checks = { + # "check_sample_weight_equivalence": ( + # "sample_weight is not equivalent to removing/repeating samples." + # ), + # } return tags @@ -3675,9 +3675,9 @@ def transform(self, X): def __sklearn_tags__(self): tags = super().__sklearn_tags__() # TODO: replace by a statistical test, see meta-issue #16298 - tags._xfail_checks = { - "check_sample_weight_equivalence": ( - "sample_weight is not equivalent to removing/repeating samples." - ), - } + # tags._xfail_checks = { + # "check_sample_weight_equivalence": ( + # "sample_weight is not equivalent to removing/repeating samples." + # ), + # } return tags