Skip to content

Commit 8074c63

Browse files
committed
Document disabling with '-n 0'
1 parent f83299c commit 8074c63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/distribution.rst

Lines changed: 2 additions & 0 deletions
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)