Skip to content

Add more vendored NumPy tests#115

Merged
ndgrigorian merged 6 commits intomasterfrom
add-more-tests-for-interfaces
Apr 10, 2026
Merged

Add more vendored NumPy tests#115
ndgrigorian merged 6 commits intomasterfrom
add-more-tests-for-interfaces

Conversation

@ndgrigorian
Copy link
Copy Markdown
Collaborator

@ndgrigorian ndgrigorian commented Apr 9, 2026

This PR proposes adding more tests vendored from NumPy's random/tests. These tests are specifically vendored from tests for regressions in RandomState

The tests exposed some issues in multinomial, permutation, and randint, which were solved in the scope of this PR

@ndgrigorian ndgrigorian force-pushed the add-more-tests-for-interfaces branch from 757c278 to d317543 Compare April 9, 2026 06:43
@antonwolfy antonwolfy added this to the 1.4.0 release milestone Apr 9, 2026
test_regression tests were vendored from numpy but outdated and harder to maintain

also remove vendored regression tests from test_numpy_random
@ndgrigorian ndgrigorian force-pushed the add-more-tests-for-interfaces branch from d6645d9 to cf587c0 Compare April 9, 2026 20:45
Copy link
Copy Markdown
Collaborator

@antonwolfy antonwolfy left a comment

Choose a reason for hiding this comment

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

No more comments from me.
It would be good also to note changes in multinomial, permutation, and randint function in the changelog.

@ndgrigorian
Copy link
Copy Markdown
Collaborator Author

@antonwolfy
added to changelog, grouped it in with the other general updates to align with newer numpy

@ndgrigorian ndgrigorian requested a review from antonwolfy April 10, 2026 17:39
Copy link
Copy Markdown
Collaborator

@antonwolfy antonwolfy left a comment

Choose a reason for hiding this comment

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

Thank you @ndgrigorian

@ndgrigorian ndgrigorian merged commit 5f84050 into master Apr 10, 2026
99 of 103 checks passed
@ndgrigorian ndgrigorian deleted the add-more-tests-for-interfaces branch April 10, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants