Skip to content

Commit ae2e146

Browse files
committed
DOC
1 parent 493ef7d commit ae2e146

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/source/contributing.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,8 @@ use cases and writing corresponding tests.
489489
Adding tests is one of the most common requests after code is pushed to *pandas*. Therefore,
490490
it is worth getting in the habit of writing tests ahead of time so this is never an issue.
491491

492-
Like many packages, *pandas* uses the `Nose testing system
493-
<http://nose.readthedocs.org/en/latest/index.html>`_ and the convenient
492+
Like many packages, *pandas* uses `pytest`
493+
<http://doc.pytest.org/en/latest/>`_ and the convenient
494494
extensions in `numpy.testing
495495
<http://docs.scipy.org/doc/numpy/reference/routines.testing.html>`_.
496496

@@ -532,15 +532,15 @@ Running the test suite
532532
The tests can then be run directly inside your Git clone (without having to
533533
install *pandas*) by typing::
534534

535-
nosetests pandas
535+
py.test pandas
536536

537537
The tests suite is exhaustive and takes around 20 minutes to run. Often it is
538538
worth running only a subset of tests first around your changes before running the
539539
entire suite. This is done using one of the following constructs::
540540

541-
nosetests pandas/tests/[test-module].py
542-
nosetests pandas/tests/[test-module].py:[TestClass]
543-
nosetests pandas/tests/[test-module].py:[TestClass].[test_method]
541+
py.test pandas/tests/[test-module].py
542+
py.test pandas/tests/[test-module].py::[TestClass]
543+
py.test pandas/tests/[test-module].py::[TestClass]::[test_method]
544544

545545
.. versionadded:: 0.18.0
546546

doc/source/install.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ Running the test suite
188188
pandas is equipped with an exhaustive set of unit tests covering about 97% of
189189
the codebase as of this writing. To run it on your machine to verify that
190190
everything is working (and you have all of the dependencies, soft and hard,
191-
installed), make sure you have `nose
192-
<http://readthedocs.org/docs/nose/en/latest/>`__ and run:
191+
installed), make sure you have `pytest
192+
<http://doc.pytest.org/en/latest/>`__ and run:
193193

194194
::
195195

0 commit comments

Comments
 (0)