Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST:special:Add partial tests for nrdtrimn and nrdtrisd #20173

Merged
merged 1 commit into from Mar 5, 2024

Conversation

ilayn
Copy link
Member

@ilayn ilayn commented Mar 2, 2024

Reference issue

Related : #19953

What does this implement/fix?

Adds partial tests for special functions.

It seems to me that the generic testing infra we have right now is not suitable for customization of parameter domains and it is a bit convoluted. It takes quite some investigation to see what is going on and debugging what failed. Hence I think there is domain expertise needed for the rewrite of the testing suite.

But at least it is better than nothing for now.

@ilayn ilayn added scipy.special maintenance Items related to regular maintenance tasks labels Mar 2, 2024
@ilayn ilayn added this to the 1.13.0 milestone Mar 2, 2024
@ilayn ilayn removed the request for review from person142 March 2, 2024 11:07
@github-actions github-actions bot added the Cython Issues with the internal Cython code base label Mar 2, 2024
@ilayn
Copy link
Member Author

ilayn commented Mar 2, 2024

Failures don't seem relevant.

Copy link
Contributor

@steppi steppi left a comment

Choose a reason for hiding this comment

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

Thanks @ilayn. The tests look good. I've been planning to work on improving the test infrastructure stuff for special functions and will find some time to fit it in over the next couple months. Did you mean to include the noncentral t updates here? If so, can you split the PR into two commits, one for the tests, and one for the noncentral t updates? After that, I'll do a regular merge.

@ilayn
Copy link
Member Author

ilayn commented Mar 2, 2024

Ah yes looks like I used the wrong branch for fixes. Will fix

Revert "TST:special:Add partial tests for nrdtri*"

This reverts commit 722d9f0.

TST:special:Add partial tests for nrdtri*
@ilayn
Copy link
Member Author

ilayn commented Mar 5, 2024

Let me get this in so we don't have merge conflicts for other additions, thanks @steppi !

@ilayn ilayn merged commit 0a85623 into scipy:main Mar 5, 2024
29 checks passed
@ilayn ilayn deleted the cdflib_tests branch March 5, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cython Issues with the internal Cython code base maintenance Items related to regular maintenance tasks scipy.special
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants