Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-119727: Run tests in parallel by default
The Python test runner (regrtest) now runs tests in parallel by
default.  Use the --single-process option to run tests sequentially
in a single process.
  • Loading branch information
vstinner committed Jun 13, 2024
commit 5517f14c19e283f88c6832a1bf2cc044f0948789
2 changes: 1 addition & 1 deletion Lib/test/libregrtest/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def __init__(self, **kwargs) -> None:
self.verbose3 = False
self.print_slow = False
self.random_seed = None
self.use_mp = None
self.use_mp = 0
self.forever = False
self.header = False
self.failfast = False
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The Python test runner (regrtest) now runs tests in parallel by default. Use
the ``--single-process`` option to run tests sequentially in a single process.
Patch by Victor Stinner.