From f13e1927bdc830413789fdfa04aa2144fd7a9a4f Mon Sep 17 00:00:00 2001 From: Kunal Shah <25btec038@iiitu.ac.in> Date: Mon, 23 Nov 2026 00:48:20 +0530 Subject: [PATCH] docs: recommend parallel test execution --- testing/run-write-tests.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/run-write-tests.rst b/testing/run-write-tests.rst index c7c36a7ba..d1ec683f5 100644 --- a/testing/run-write-tests.rst +++ b/testing/run-write-tests.rst @@ -17,9 +17,7 @@ Running and writing tests Running ======= -The shortest, simplest way of running the test suite is the following command, -which runs tests in parallel, from the root directory of your checkout -(after you have :ref:`built Python `): +The recommended way to run the test suite is to use parallel execution from the root directory of your checkout (after you have :ref:`built Python `): .. tab:: Unix @@ -41,6 +39,8 @@ which runs tests in parallel, from the root directory of your checkout .\python.bat -m test -j0 +The ``-j0`` option runs tests in parallel using the available CPU resources. This is significantly faster than running tests sequentially. + This will run the majority of tests, but exclude a small portion of them; these excluded tests use special kinds of resources: for example, accessing the Internet, or trying to play a sound or to display a graphical interface on