-
-
Notifications
You must be signed in to change notification settings - Fork 26.3k
TST Replace assert_raises* by pytest.raises in model_selection/tests/test_validation.py #19381
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
TST Replace assert_raises* by pytest.raises in model_selection/tests/test_validation.py #19381
Conversation
#DataUmbrella sprint |
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.
Thank you for the PR @cycks !
LGTM
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.
Could you also replace assert_raise_message
?
@cycks We forgot to add in the original issue the |
@glemaitre I am working on it right now I will submit a pr once I am done. |
As @glemaitre said in #19432, please push your commit to the branch of this current PR instead to finalize it. |
I'm working at completing this PR. Due to lack of permissions to push to this PR branch, a new branch starting from this PR branch is created. #19592 is the new corresponding PR. |
Continued in #19592. |
Reference Issues/PRs
References #14216
What does this implement/fix? Explain your changes.
replace assert_raises* by pytest.raise in model_selection/tests/test_validation.py
Any other comments?
cc: (pair programming partner) @mohaseeb