-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
MNT Don't validate error messages when strict mode is off #18415
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM, aside for the comment below.
) | ||
|
||
|
||
def test_check_fit2d_1feature(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's exactly the same function as above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
almost, but for different checks ;)
one checks samples the other checks features
Good to merge @rth? ;) |
…ikit-learn#18415)" This reverts commit a49032c.
…rn#18415) in check_estimator
…rn#18415) in check_estimator
Addresses #13969
This PR makes
check_estimator(strict_mode=False)
not validate the exact error message. The type of the exceptions is however still enforced.Still left to do: docs and whatsnew entry (will do that in another PR, probably)
It would be better to have #18418 merged first