-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
TST Replace assert_warns in covariance/tests #19757
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_warns in covariance/tests #19757
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.
LGTM. Thanks @isaack-mungui !
doc/whats_new/v1.0.rst
Outdated
:mod:`sklearn.covariance.tests` | ||
................... | ||
|
||
- |Enhancement| Replace the use of assert_warns and assert_warns_message | ||
with the pytest context manager. :pr:`19757` by :user:`Isaack Mungui <isaack-mungui>`. | ||
|
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.
No change log entry is needed for this PR. I added the no change log needed tag
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.
I've reverted the commit.
This reverts commit ec6b3d0.
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. @isaack-mungui Thanks for this PR.
Reference Issues/PRs
Towards #19414
What does this implement/fix? Explain your changes.
Replaces assert_warns and assert_warns_message with the python context manager