Skip to content

Conversation

@jorenham
Copy link
Member

@jorenham jorenham commented Apr 9, 2025

For ndarray.__add__ this will generate 385 tests, but 190 ($\approx49\%$) of those are currently failing (according to basedpyright). I'll address these in a follow-up.

Note that this does not test shape-types, and only tests the "homogenous" ndarray x ndarray case (so no builtin scalars, numpy scalars, or other array-likes).

This also does not cover the abstract scalar-types; only the concrete ones. So e.g. NDArray[np.integer] is not covered by these.

Towards #491

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

@jorenham jorenham merged commit b22f51c into main Apr 9, 2025
24 checks passed
@jorenham jorenham deleted the ndarray_binop_testgen branch April 9, 2025 14:52
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.

2 participants