Skip to content

Commit ca2d5ad

Browse files
authored
CLN: Replace test_fast scripts with documenting xdist n flag (pandas-dev#48958)
1 parent 0c3dd06 commit ca2d5ad

File tree

4 files changed

+7
-48
lines changed

4 files changed

+7
-48
lines changed

Makefile

-30
This file was deleted.

doc/source/development/contributing_codebase.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -796,16 +796,16 @@ need to install ``pytest-xdist`` via::
796796

797797
pip install pytest-xdist
798798

799-
Two scripts are provided to assist with this. These scripts distribute
800-
testing across 4 threads.
799+
The ``-n`` flag then can be specified when running ``pytest`` to parallelize a test run
800+
across the number of specified cores or ``auto`` to utilize all the available cores on your machine.
801801

802-
On Unix variants, one can type::
802+
.. code-block:: bash
803803
804-
test_fast.sh
804+
# Utilize 4 cores
805+
pytest -n 4 pandas
805806
806-
On Windows, one can type::
807-
808-
test_fast.bat
807+
# Utilizes all available cores
808+
pytest -n auto pandas
809809
810810
This can significantly reduce the time it takes to locally run tests before
811811
submitting a pull request.

test_fast.bat

-3
This file was deleted.

test_fast.sh

-8
This file was deleted.

0 commit comments

Comments
 (0)