Skip to content

TST Remove use of assert raise message from test validation#19432

Closed
cycks wants to merge 2 commits intoscikit-learn:mainfrom
cycks:remove_use_of_assert_raise_message_from_test_validation
Closed

TST Remove use of assert raise message from test validation#19432
cycks wants to merge 2 commits intoscikit-learn:mainfrom
cycks:remove_use_of_assert_raise_message_from_test_validation

Conversation

@cycks
Copy link
Copy Markdown
Contributor

@cycks cycks commented Feb 11, 2021

Reference Issues/PRs

References #14216

What does this implement/fix? Explain your changes.

@glemaitre replace assert_raise_message by pytest.raise in model_selection/tests/test_validation.py

Any other comments?

No other comments

#DataUmbrella sprint

@glemaitre
Copy link
Copy Markdown
Member

The linting is failing: https://dev.azure.com/scikit-learn/scikit-learn/_build/results?buildId=26484&view=logs&j=32e2e1bb-a28f-5b18-6cfc-3f01273f5609&t=fc67071d-c3d4-58b8-d38e-cafc0d3c731a

It seems that you have issue with indentation.

Be aware that you did not have to create a PR but just make the changes in the same branch that you created when submitting #19381 and just push this branch.

I will close this PR to not have duplicated work. Could you modify the original PR: #19381

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