Skip to content
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 pytest.warns(None) in test_omp.py #22886

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

richardt94
Copy link
Contributor

Reference Issues/PRs

Related to #22572

What does this implement/fix? Explain your changes.

Replaces deprecated pytest.warns(None) in linear_model/tests/test_omp.py with a warnings.catch_warnings() context manager that specifically filters the (un)expected FutureWarning.

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.

Thank you for the PR! LGTM

@thomasjpfan thomasjpfan merged commit aee564c into scikit-learn:main Mar 18, 2022
@richardt94 richardt94 deleted the test_omp_update branch March 22, 2022 04:21
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Apr 6, 2022
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.

2 participants