Skip to content

Commit f89a40b

Browse files
authored
MNT fix typo in tree test name (#22943)
1 parent f3f8967 commit f89a40b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/tree/tests/test_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2121,7 +2121,7 @@ def test_poisson_vs_mse():
21212121

21222122

21232123
@pytest.mark.parametrize("criterion", REG_CRITERIONS)
2124-
def test_decision_tree_regressor_sample_weight_consistentcy(criterion):
2124+
def test_decision_tree_regressor_sample_weight_consistency(criterion):
21252125
"""Test that the impact of sample_weight is consistent."""
21262126
tree_params = dict(criterion=criterion)
21272127
tree = DecisionTreeRegressor(**tree_params, random_state=42)

0 commit comments

Comments
 (0)