Skip to content

ENH make sure warn_on errors on invalid child #24023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

adrinjalali
Copy link
Member

I encountered a bug where I had passed the wrong child name to warn_on, this PR makes sure the method errors in that case to prevent those bugs.

Towards #22893

cc @thomasjpfan @glemaitre

Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomasjpfan thomasjpfan merged commit 9bd9c12 into scikit-learn:sample-props Jul 27, 2022
@adrinjalali adrinjalali deleted the slep6/warn_on branch July 27, 2022 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants