Skip to content

TST: Replace xunit setup with methods #29605

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bwhitt7
Copy link
Contributor

@bwhitt7 bwhitt7 commented Aug 20, 2025

This PR is related to #29552 and a continuation of #29596, with the goal of making NumPy's testing suite more thread safe. This changes the setup methods for 4 more testing files in numpy/_core, as well as moving some variables that were only used once to be inside the test they're used in instead of declared in a method.

With this PR, you should be able to call the tests from these files with pytest-run-parallel and have all tests successfully run in parallel threads (and also run normally without pytest-run-parallel).

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.

1 participant