File tree 4 files changed +7
-48
lines changed
4 files changed +7
-48
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -796,16 +796,16 @@ need to install ``pytest-xdist`` via::
796
796
797
797
pip install pytest-xdist
798
798
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 .
801
801
802
- On Unix variants, one can type::
802
+ .. code-block :: bash
803
803
804
- test_fast.sh
804
+ # Utilize 4 cores
805
+ pytest -n 4 pandas
805
806
806
- On Windows, one can type::
807
-
808
- test_fast.bat
807
+ # Utilizes all available cores
808
+ pytest -n auto pandas
809
809
810
810
This can significantly reduce the time it takes to locally run tests before
811
811
submitting a pull request.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments