Skip to content

Commit f962172

Browse files
authored
MAINT Fix typo in function name check_global_ouptut_transform_pandas (scikit-learn#26718)
1 parent e602552 commit f962172

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sklearn/tests/test_common.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
check_dataframe_column_names_consistency,
7676
check_estimator,
7777
check_get_feature_names_out_error,
78-
check_global_ouptut_transform_pandas,
78+
check_global_output_transform_pandas,
7979
check_n_features_in_after_fitting,
8080
check_param_validation,
8181
check_set_output_transform,
@@ -596,9 +596,9 @@ def test_global_output_transform_pandas(estimator):
596596
name = estimator.__class__.__name__
597597
if not hasattr(estimator, "set_output"):
598598
pytest.skip(
599-
f"Skipping check_global_ouptut_transform_pandas for {name}: Does not"
599+
f"Skipping check_global_output_transform_pandas for {name}: Does not"
600600
" support set_output API yet"
601601
)
602602
_set_checking_parameters(estimator)
603603
with ignore_warnings(category=(FutureWarning)):
604-
check_global_ouptut_transform_pandas(estimator.__class__.__name__, estimator)
604+
check_global_output_transform_pandas(estimator.__class__.__name__, estimator)

sklearn/utils/estimator_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4504,7 +4504,7 @@ def check_set_output_transform_pandas(name, transformer_orig):
45044504
)
45054505

45064506

4507-
def check_global_ouptut_transform_pandas(name, transformer_orig):
4507+
def check_global_output_transform_pandas(name, transformer_orig):
45084508
"""Check that setting globally the output of a transformer to pandas lead to the
45094509
right results."""
45104510
try:

0 commit comments

Comments
 (0)