GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Optionally run Python regression tests in parallel · Issue #127933 · python/cpython Closed Labels testsTests in the Lib/test dirTests in the Lib/test dirtopic-free-threadingtype-featureA feature request or enhancementA feature request or enhancement DescriptionFeature or enhancementThis proposes adding an option to the regression test runner to run individual tests multiple times in parallel with the goal of uncovering multithreading bugs, especially in the free threading build. Note that this is different from This is motivated by the experience of using https://github.com/Quansight-Labs/pytest-run-parallel, which is a pytest plugin written by @lysnikolaou and @andfoy. We've used that effectively to find thread-safety bugs in C API extensions while working on free threading compatibility. The proposed changes are limited to the Python-internal New command line argumentsThese are chosen to match https://github.com/Quansight-Labs/pytest-run-parallel. I think using the same names across the Python ecosystem makes things a bit easier to remember if you work on multiple projects.
Other supportSome of our test cases are not thread-safe (even with the GIL) because they modify global state or use non thread-safe unsafe modules (like
Similar projectsThere are a few existing projects that do essentially this for pytest and unittest, but they're not directly usable for Python's own test suite.
Linked PRsReacted by Tomas R., Kirill Podoprigora and Edgar Andrés Margffoy Tuay Activity
MetadataMetadataAssigneesLabelstestsTests in the Lib/test dirTests in the Lib/test dirtopic-free-threadingtype-featureA feature request or enhancementA feature request or enhancement ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |