Skip to content

TST Extend tests for scipy.sparse/*array in sklearn/utils/tests/test_testing - #27276

Merged
glemaitre merged 6 commits into
scikit-learn:mainfrom
Charlie-XIAO:tst_sp_testing
Sep 12, 2023
Merged

glemaitre merged 6 commits into
scikit-learn:mainfrom
Charlie-XIAO:tst_sp_testing

Conversation

@Charlie-XIAO

Copy link
Copy Markdown
Contributor

Towards #27090.

I extended the _convert_container function a bit for the sparse arrays, please let me know if this is not necessary (in which case the tests for sparse arrays in test_convert_container need to be removed).

@github-actions

github-actions Bot commented Sep 3, 2023 •

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 46a58ba. Link to the linter CI: here

@lohitslohit

Copy link
Copy Markdown
Contributor

@Charlie-XIAO I am new to open source, Can you help me to fix the issue in #27275.

@Charlie-XIAO Charlie-XIAO changed the title TST Extend tests for scipy.sparse/*array in sklearn/utils/tests/test_testing TST Extend tests for scipy.sparse/*array in sklearn/utils/tests/test_testing Sep 4, 2023

@OmarManzoor OmarManzoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @Charlie-XIAO. I think it doesn't hurt to have the checks for sparse arrays as well.

Comment thread sklearn/utils/_testing.py Resolved
Comment thread sklearn/utils/tests/test_testing.py Resolved
Comment thread sklearn/utils/tests/test_testing.py Resolved

@glemaitre glemaitre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @Charlie-XIAO

@glemaitre
glemaitre merged commit 7dd3e4e into scikit-learn:main Sep 12, 2023
@Charlie-XIAO
Charlie-XIAO deleted the tst_sp_testing branch September 14, 2023 04:00
REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
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.

4 participants