fix: handle union array simplification returning back indexed arrays in ak.almost_equal#3909
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
|
|
The documentation preview is ready to be viewed at http://preview.awkward-array.org.s3-website.us-east-1.amazonaws.com/PR3909 |
ianna
left a comment
There was a problem hiding this comment.
@ikrommyd - Great! By calling .project(), you resolve the index and create a fresh, contiguous version of the data. This ensures the visitor function is looking at the actual values in their logical order. Not sure about deleting the test though...
Oh the test is not being deleted, it's just being all in one test now. We don't need two tests. The second test was just to test the union array case where |
Closes #3888,
Following #3889, this tackles bug 2 of #3888
Equality can now properly be asserted in the property based testing so we remove the second test that didn't check for equality.