Skip to content

Commit f3e5035

Browse files
authored
Update doc/index.rst unit test reference
Sync doc dir test reference from #436. Same wording as in toplevel README.rst
1 parent 5c79fc8 commit f3e5035

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

doc/index.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,16 @@ You can check out the latest version of the source code with the command::
3838

3939
git clone https://github.com/python-control/python-control.git
4040

41-
You can run a set of unit tests to make sure that everything is working
42-
correctly. After installation, run::
41+
You can run the unit tests with `pytest`_ to make sure that everything is
42+
working correctly. Inside the source directory, run::
4343

44-
python setup.py test
44+
pytest -v
45+
46+
or to test the installed package::
47+
48+
pytest --pyargs control -v
49+
50+
.. _pytest: https://docs.pytest.org/
4551

4652
Your contributions are welcome! Simply fork the `GitHub repository <https://github.com/python-control/python-control>`_ and send a
4753
`pull request`_.

0 commit comments

Comments
 (0)