Skip to content

Commit 4d0190b

Browse files
committed
Document testing with pytest
1 parent 1d930fd commit 4d0190b

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

doc/sphinx/source/contributing.rst

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Next install your development copy of bpython and its dependencies:
4747
# install optional dependencies
4848
$ pip install watchdog urwid
4949
# development dependencies
50-
$ pip install sphinx nose
50+
$ pip install sphinx pytest
5151
<modify a file in some way>
5252
# this runs your modified copy of bpython!
5353
$ bpython
@@ -62,7 +62,7 @@ Next install your development copy of bpython and its dependencies:
6262
6363
$ sudp apt install python3-greenlet python3-pygments python3-requests
6464
$ sudo apt install python3-watchdog python3-urwid
65-
$ sudo apt install python3-sphinx python3-nose
65+
$ sudo apt install python3-sphinx python3-pytest
6666
6767
You also need to run `virtualenv` with `--system-site-packages` packages, if
6868
you want to use the packages provided by your distribution.
@@ -83,14 +83,8 @@ To run tests from the bpython directory:
8383

8484
.. code-block:: bash
8585
86-
$ nosetests
86+
$ pytest
8787
88-
If you want to skip test cases that are known to be slow, run `nosetests` in
89-
the following way:
90-
91-
.. code-block:: bash
92-
93-
$ nosetests -A "speed != 'slow'"
9488
9589
Building the documentation
9690
--------------------------

0 commit comments

Comments
 (0)