KEMBAR78
[3.12] gh-117378: Only run the new multiprocessing SysPath test when appropriate (GH-126635) by miss-islington · Pull Request #126653 · python/cpython · GitHub
Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 10, 2024

The first version had it running two forkserver and one spawn tests underneath each of the _fork, _forkserver, and _spawn test suites that build off the generic one.

This adds to the existing complexity of the multiprocessing test suite by offering BaseTestCase classes another attribute to control which suites they are invoked under. Practicality vs purity here. :/

Net result: we don't over-run the new test and their internal logic is simplified.
(cherry picked from commit ca878b6)

Co-authored-by: Gregory P. Smith greg@krypto.org

…ppropriate (pythonGH-126635)

The first version had it running two forkserver and one spawn tests underneath each of the _fork, _forkserver, and _spawn test suites that build off the generic one.

This adds to the existing complexity of the multiprocessing test suite by offering BaseTestCase classes another attribute to control which suites they are invoked under. Practicality vs purity here. :/

Net result: we don't over-run the new test and their internal logic is simplified.
(cherry picked from commit ca878b6)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir skip news labels Nov 10, 2024
@gpshead gpshead enabled auto-merge (squash) November 10, 2024 21:17
@gpshead gpshead merged commit abb8265 into python:3.12 Nov 10, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants