Skip to content

Commit f1d81a4

Browse files
authoredApr 2, 2025··
Merge pull request #1192 from adamchainz/document_disabling
Document disabling with '-n 0'
2 parents f83299c + 8074c63 commit f1d81a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎docs/distribution.rst

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ if it is not or if it fails to determine the number of logical CPUs, fall back t
1919

2020
Pass a number, e.g. ``-n 8``, to specify the number of processes explicitly.
2121

22+
Use ``-n 0`` to disable xdist and run all tests in the main process.
23+
2224
To specify a different meaning for ``-n auto`` and ``-n logical`` for your
2325
tests, you can:
2426

0 commit comments

Comments
 (0)