diff options
author | Nathan Goldbaum <nathan.goldbaum@gmail.com> | 2022-12-14 11:57:05 -0700 |
---|---|---|
committer | Nathan Goldbaum <nathan.goldbaum@gmail.com> | 2022-12-14 11:57:38 -0700 |
commit | db3a1fd680c8975cb08ba621e5c3652c0c1fe164 (patch) | |
tree | c59d5f468bcb589bd14f4fda789641b86b6e9b00 | |
parent | a185f4be433443c9e913217f9662b97a0ac3e9f7 (diff) | |
download | numpy-db3a1fd680c8975cb08ba621e5c3652c0c1fe164.tar.gz |
DOC: mention installing test dependencies in testing instructions
-rw-r--r-- | doc/source/dev/development_environment.rst | 4 | ||||
-rw-r--r-- | doc/source/dev/index.rst | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/source/dev/development_environment.rst b/doc/source/dev/development_environment.rst index 0ac02271d..b5ee915c4 100644 --- a/doc/source/dev/development_environment.rst +++ b/doc/source/dev/development_environment.rst @@ -27,6 +27,10 @@ of this chapter we assume that you have set up your git repo as described in Testing builds -------------- +Before running the tests, first install the test dependencies:: + + $ python -m pip install -r test_requirements.txt + To build the development version of NumPy and run tests, spawn interactive shells with the Python import paths properly set up etc., do one of:: diff --git a/doc/source/dev/index.rst b/doc/source/dev/index.rst index 93b57f7e2..55f5ce99a 100644 --- a/doc/source/dev/index.rst +++ b/doc/source/dev/index.rst @@ -210,7 +210,7 @@ Running NumPy's test suite locally requires some additional packages, such as in ``test_requirements.txt`` in the top-level directory, and can conveniently be installed with:: - pip install -r test_requirements.txt + $ python -m pip install -r test_requirements.txt Tests for a module should ideally cover all code in that module, i.e., statement coverage should be at 100%. |