gh-1076: Use array comparison functions from array-api-extra - #1083
Conversation
I know, that's because |
connoraird
left a comment
There was a problem hiding this comment.
I stopped writing the same comment after a while but I think double checking the types of what we are comparing and making sure it should be assert_close or assert_equal would be good.
|
I've done a find-and-replace and then iterated to include more |
|
Have merged in #1089 |
|
exams done, please do give https://github.com/data-apis/array-api-extra/releases/tag/v0.10.2 a test! |
|
oops, made it to PyPI this time https://pypi.org/project/array-api-extra/ |
|
Merging now. Hope the exams went well @lucascolley! |
Description
As can be seen in scipy/scipy#25143 and scikit-learn/scikit-learn#34019,
array-api-extranow provides array comparison methods. This means we should be able to remove our customComparehelper class.Closes: #1076
Changelog entry
Changed: Used
array_api_extra.testingfor array comparison in testsChecks