-
-
Notifications
You must be signed in to change notification settings - Fork 26.1k
TST Change assert from sklearn to pytest style in tests/test_pipeline.py #19678
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.
Some formatting details but otherwise LGTM.
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Using |
Hum sorry read too quickly and did not get that |
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
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.
lgtm. Thanks @azihna !
Reference Issues/PRs
References #14216
What does this implement/fix? Explain your changes.
Changed the assert_raises, assert_message, assert_warns in tests/test_pipeline.py to pytest.raises().
Added additional message checks for tests that seemed like could benefit from further clarification.