shithub: aubio

Download patch

ref: 36ce209787c66802368bdf7f4c523a623565d06d
parent: 69783fbc0c1a84a63b25808766f786555d04fc7b
author: Paul Brossier <piem@piem.org>
date: Thu Nov 1 20:18:25 EDT 2018

[doc] remove references to run_all_tests

--- a/Makefile
+++ b/Makefile
@@ -138,8 +138,6 @@
 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:
--- a/doc/python_module.rst
+++ b/doc/python_module.rst
@@ -67,8 +67,5 @@
 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.
--- a/python/README.md
+++ b/python/README.md
@@ -35,17 +35,18 @@
 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
 -----------------------