Skip to content

Commit

Permalink
MAINT Fix typo in function name check_global_ouptut_transform_pandas (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreesha3112 committed Jun 30, 2023
1 parent e602552 commit f962172
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions sklearn/tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
check_dataframe_column_names_consistency,
check_estimator,
check_get_feature_names_out_error,
check_global_ouptut_transform_pandas,
check_global_output_transform_pandas,
check_n_features_in_after_fitting,
check_param_validation,
check_set_output_transform,
Expand Down Expand Up @@ -596,9 +596,9 @@ def test_global_output_transform_pandas(estimator):
name = estimator.__class__.__name__
if not hasattr(estimator, "set_output"):
pytest.skip(
f"Skipping check_global_ouptut_transform_pandas for {name}: Does not"
f"Skipping check_global_output_transform_pandas for {name}: Does not"
" support set_output API yet"
)
_set_checking_parameters(estimator)
with ignore_warnings(category=(FutureWarning)):
check_global_ouptut_transform_pandas(estimator.__class__.__name__, estimator)
check_global_output_transform_pandas(estimator.__class__.__name__, estimator)
2 changes: 1 addition & 1 deletion sklearn/utils/estimator_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4504,7 +4504,7 @@ def check_set_output_transform_pandas(name, transformer_orig):
)


def check_global_ouptut_transform_pandas(name, transformer_orig):
def check_global_output_transform_pandas(name, transformer_orig):
"""Check that setting globally the output of a transformer to pandas lead to the
right results."""
try:
Expand Down

0 comments on commit f962172

Please sign in to comment.