TST Extend tests for scipy.sparse/*array in sklearn/preprocessing/tests/test_data#27253
TST Extend tests for scipy.sparse/*array in sklearn/preprocessing/tests/test_data#27253glemaitre merged 7 commits intoscikit-learn:mainfrom
scipy.sparse/*array in sklearn/preprocessing/tests/test_data#27253Conversation
glemaitre
left a comment
There was a problem hiding this comment.
Otherwise the changes looks good. The parametrization allows to remove some legacy code. Thanks.
I also added in the review comments that should be avoiding the CIs failures.
|
Thanks @glemaitre for the review! Thank you so much for the effort finding out every place where I used unpacking and those deprecated |
glemaitre
left a comment
There was a problem hiding this comment.
The additional check is exactly what I meant. Thanks @Charlie-XIAO. LGTM.
|
@OmarManzoor This one will take a bit more time to review but this is in a good state. |
OmarManzoor
left a comment
There was a problem hiding this comment.
Thanks for the PR @Charlie-XIAO
|
Thanks for spotting those unpacking stuff @OmarManzoor! I missed those when I checked through my PRs. Also I left a question in #27253 (comment) about whether |
|
Thanks for the updates @Charlie-XIAO |
|
Merging since this is passing. Thanks all |
…tests/test_data` (scikit-learn#27253) Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Towards #27090.
There seems to be many duplicated code and even wrong tests, so I kind of refactored it a bit (fixed those errors and duplicates that I noticed).