Skip to content

MAINT:Fix assert raises in sklearn/compose/tests/#14670

Merged
thomasjpfan merged 3 commits intoscikit-learn:masterfrom
sameshl:compose_tests
Aug 17, 2019
Merged

MAINT:Fix assert raises in sklearn/compose/tests/#14670
thomasjpfan merged 3 commits intoscikit-learn:masterfrom
sameshl:compose_tests

Conversation

@sameshl
Copy link
Copy Markdown
Contributor

@sameshl sameshl commented Aug 16, 2019

replaced assert_raises and assert_raises_regex with pytest.raises context manager.

related to #14216

replaced `assert_raises` and `assert_raises_regex` with
the with `pytest.raises` context manager.

related to #14216
@thomasjpfan
Copy link
Copy Markdown
Member

Run the following to see the lint errors locally:

make flake8-diff

@thomasjpfan thomasjpfan merged commit db23c4e into scikit-learn:master Aug 17, 2019
@thomasjpfan
Copy link
Copy Markdown
Member

Thank you @sameshl!

@sameshl sameshl deleted the compose_tests branch August 17, 2019 09:32
@sameshl
Copy link
Copy Markdown
Contributor Author

sameshl commented Aug 17, 2019

Thank you @thomasjpfan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants