File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -489,8 +489,8 @@ use cases and writing corresponding tests.
489
489
Adding tests is one of the most common requests after code is pushed to *pandas *. Therefore,
490
490
it is worth getting in the habit of writing tests ahead of time so this is never an issue.
491
491
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
494
494
extensions in `numpy.testing
495
495
<http://docs.scipy.org/doc/numpy/reference/routines.testing.html> `_.
496
496
@@ -532,15 +532,15 @@ Running the test suite
532
532
The tests can then be run directly inside your Git clone (without having to
533
533
install *pandas *) by typing::
534
534
535
- nosetests pandas
535
+ py.test pandas
536
536
537
537
The tests suite is exhaustive and takes around 20 minutes to run. Often it is
538
538
worth running only a subset of tests first around your changes before running the
539
539
entire suite. This is done using one of the following constructs::
540
540
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]
544
544
545
545
.. versionadded:: 0.18.0
546
546
Original file line number Diff line number Diff line change @@ -188,8 +188,8 @@ Running the test suite
188
188
pandas is equipped with an exhaustive set of unit tests covering about 97% of
189
189
the codebase as of this writing. To run it on your machine to verify that
190
190
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:
193
193
194
194
::
195
195
You can’t perform that action at this time.
0 commit comments