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

MAINT: fft: rename test_numpy.py to test_basic.py #19000

Merged
merged 2 commits into from
Aug 1, 2023

Conversation

lucascolley
Copy link
Member

@lucascolley lucascolley commented Aug 1, 2023

Reference issue

N/A

What does this implement/fix?

test_numpy.py is the file containing the tests for _basic.py. test_basic.py more accurately describes what the tests do and matches the naming convention of the other test files.

Additional information

This PR was motivated by work on adding support for the array API to scipy.fft (see #18867). In that work, this file is modified to test _basic.py for any array API compatible backend, not just numpy, so it would be a total misnomer there. This PR is separate because it is a general improvement regardless of the array API work, and will clean up the diff for that work when its PR is opened.

@lucascolley
Copy link
Member Author

lucascolley commented Aug 1, 2023

Update: the text is added now.
Sorry, I accidentally opened this without any text.

@lucascolley lucascolley reopened this Aug 1, 2023
@lucascolley lucascolley changed the title MAINT: fft: rename test_numpy.py to test_basic.py MAINT: fft: rename test_numpy.py to test_basic.py [skip cirrus] Aug 1, 2023
@rgommers rgommers added the maintenance Items related to regular maintenance tasks label Aug 1, 2023
@rgommers rgommers changed the title MAINT: fft: rename test_numpy.py to test_basic.py [skip cirrus] MAINT: fft: rename test_numpy.py to test_basic.py Aug 1, 2023
Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @lucascolley!

@rgommers rgommers merged commit fe877e2 into scipy:main Aug 1, 2023
19 of 38 checks passed
@rgommers rgommers added this to the 1.12.0 milestone Aug 1, 2023
@lucascolley lucascolley deleted the fft_test_basic branch August 1, 2023 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks scipy.fft
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants