Skip to content

Commit 6dc8f0f

Browse files
committed
DOC: Replace nose with pytest in the docs
1 parent ff922aa commit 6dc8f0f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/source/devel/advanced_testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Long-running tests
2525
Long-running tests are not enabled by default, and can be resource-intensive. To run these tests:
2626

2727
* Set environment variable ``NIPY_EXTRA_TESTS=slow``;
28-
* Run ``nosetests``.
28+
* Run ``pytest nibabel``.
2929

3030
Note that some tests may require a machine with >4GB of RAM.
3131

doc/source/devel/make_release.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Release checklist
7979

8080
* Make sure all tests pass (from the nibabel root directory)::
8181

82-
nosetests --with-doctest nibabel
82+
pytest --doctest-modules nibabel
8383

8484
* Make sure you are set up to use the ``try_branch.py`` - see
8585
https://github.com/nipy/nibotmi/blob/master/install.rst#trying-a-set-of-changes-on-the-buildbots

doc/source/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Requirements
9090
* h5py_ (optional, for MINC2 support)
9191
* PyDICOM_ 0.9.9 or greater (optional, for DICOM support)
9292
* `Python Imaging Library`_ (optional, for PNG conversion in DICOMFS)
93-
* nose_ 0.11 or greater and pytest_ (optional, to run the tests)
93+
* pytest_ (optional, to run the tests)
9494
* sphinx_ (optional, to build the documentation)
9595

9696
Get the development sources
@@ -128,7 +128,7 @@ module to see if everything is fine. It should look something like this::
128128
>>>
129129

130130

131-
To run the nibabel test suite, from the terminal run ``nosetests nibabel`` or
131+
To run the nibabel test suite, from the terminal run ``pytest nibabel`` or
132132
``python -c "import nibabel; nibabel.test()``.
133133

134134
To run an extended test suite that validates ``nibabel`` for long-running and

0 commit comments

Comments
 (0)