[doc] remove references to run_all_tests
authorPaul Brossier <piem@piem.org>
Thu, 1 Nov 2018 23:18:25 +0000 (00:18 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 1 Nov 2018 23:18:25 +0000 (00:18 +0100)
Makefile
doc/python_module.rst
python/README.md

index f8af602..2fee6a4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -138,8 +138,6 @@ test_python: export LD_LIBRARY_PATH=$(DESTDIR)/$(LIBDIR)
 test_python: export PYTHONPATH=$(PYDESTDIR)/$(LIBDIR)
 test_python: local_dylib
        # run test with installed package
-       # ./python/tests/run_all_tests --verbose
-       # run with nose2, multiple processes
        $(NOSE2)
 
 clean_python:
index cb4d595..f7225c5 100644 (file)
@@ -67,8 +67,5 @@ The command line `aubio` is also installed:
 Python tests
 ------------
 
-A number of `python tests`_ are provided. To run them, use
-``python/tests/run_all_tests``.
-
-.. _demo_filter.py: https://github.com/aubio/aubio/blob/master/python/demos/demo_filter.py
-.. _python tests: https://github.com/aubio/aubio/blob/master/python/tests
+A number of python tests are provided. To run them, use ``pytest`` from the
+aubio source tree.
index dbb8ff3..7e2e783 100644 (file)
@@ -35,17 +35,18 @@ sounds.
 Testing the Python module
 -------------------------
 
-Python tests are in `python/tests` and use the [nose2 python package][nose2].
+Python tests are in `python/tests` and use [pytest].
 
-To run the all the python tests, use the script:
+To run the all the python tests:
 
-    $ ./python/tests/run_all_tests
+    $ cd aubio
+    $ pytest
 
 Each test script can also be called one at a time. For instance:
 
-    $ ./python/tests/test_note2midi.py -v
+    $ pytest -v python/tests/test_note2midi.py
 
-[nose2]: https://github.com/nose-devs/nose2
+[pytest]: https://pytest.org
 
 Install in a virtualenv
 -----------------------