8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a02e4df commit 971240aCopy full SHA for 971240a
sklearn/model_selection/tests/test_split.py
@@ -86,7 +86,7 @@
86
87
ALL_SPLITTERS = NO_GROUP_SPLITTERS + GROUP_SPLITTERS # type: ignore
88
89
-splitters_requiring_y = [
+SPLITTERS_REQUIRING_TARGET = [
90
StratifiedKFold(),
91
StratifiedShuffleSplit(),
92
RepeatedStratifiedKFold(),
@@ -2063,7 +2063,7 @@ def test_no_group_splitters_warns_with_groups(cv):
2063
2064
2065
@pytest.mark.parametrize(
2066
- "cv", splitters_requiring_y, ids=[str(cv) for cv in splitters_requiring_y]
+ "cv", SPLITTERS_REQUIRING_TARGET, ids=[str(cv) for cv in SPLITTERS_REQUIRING_TARGET]
2067
)
2068
def test_stratified_splitter_without_y(cv):
2069
msg = r"split.+missing 1 required positional argument: 'y'"
0 commit comments