@@ -520,15 +520,6 @@ submitting code to run the check yourself on the diff::
520
520
521
521
git diff master | flake8 --diff
522
522
523
- Furthermore, we've written a tool to check that your commits are PEP8 great, `pip install pep8radius
524
- <https://github.com/hayd/pep8radius> `_. Look at PEP8 fixes in your branch vs master with::
525
-
526
- pep8radius master --diff
527
-
528
- and make these changes with::
529
-
530
- pep8radius master --diff --in-place
531
-
532
523
Backwards Compatibility
533
524
~~~~~~~~~~~~~~~~~~~~~~~
534
525
@@ -611,6 +602,26 @@ Or with one of the following constructs::
611
602
pytest pandas/tests/[test-module].py::[TestClass]
612
603
pytest pandas/tests/[test-module].py::[TestClass]::[test_method]
613
604
605
+ Using `pytest-xdist <https://pypi.python.org/pypi/pytest-xdist >`_, one can
606
+ speed up local testing on multicore machines. To use this feature, you will
607
+ need to install `pytest-xdist ` via::
608
+
609
+ pip install pytest-xdist
610
+
611
+ Two scripts are provided to assist with this. These scripts distribute
612
+ testing across 4 threads.
613
+
614
+ On Unix variants, one can type::
615
+
616
+ test_fast.sh
617
+
618
+ On Windows, one can type::
619
+
620
+ test_fast.bat
621
+
622
+ This can significantly reduce the time it takes to locally run tests before
623
+ submitting a pull request.
624
+
614
625
For more, see the `pytest <http://doc.pytest.org/en/latest/ >`_ documentation.
615
626
616
627
.. versionadded :: 0.20.0
0 commit comments