Skip to content

Commit f095221

Browse files
committed
iter
1 parent c7bdc74 commit f095221

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

imblearn/utils/_validation.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -588,8 +588,8 @@ def check_sampling_strategy(
588588

589589
if hasattr(classes_counts, "__array__"):
590590
warnings.warn(
591-
f"Passing that array of target `y` is deprecated in 0.7 and will "
592-
f"raise an error from 0.9. Instead, pass `y` to "
591+
"Passing an array of target `y` is deprecated in 0.7 and will "
592+
"raise an error from 0.9. Instead, pass `y` to "
593593
"imblearn.utils.get_classes_counts function to get the "
594594
"dictionary.", FutureWarning
595595
)

imblearn/utils/tests/test_validation.py

+1
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ def test_sampling_strategy_deprecation_array_target():
402402
sampling_strategy, binary_target, "under-sampling",
403403
)
404404

405+
405406
def test_arrays_transformer_plain_list():
406407
X = np.array([[0, 0], [1, 1]])
407408
y = np.array([[0, 0], [1, 1]])

0 commit comments

Comments
 (0)