summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas J. Fan <thomasjpfan@gmail.com>2021-12-03 09:25:47 -0500
committerThomas J. Fan <thomasjpfan@gmail.com>2021-12-03 09:26:22 -0500
commit1759c054881f7d6a2f589f4dade343b9273580f9 (patch)
tree97f4976d58b162f9450db529ece05fc1cd6ef3ec
parent0e10696f55576441fd820279d9ec10cd9f2a4c5d (diff)
downloadnumpy-1759c054881f7d6a2f589f4dade343b9273580f9.tar.gz
DOC Adds valgrind to the test command
-rw-r--r--doc/source/dev/development_advanced_debugging.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/dev/development_advanced_debugging.rst b/doc/source/dev/development_advanced_debugging.rst
index 18a7f6ae9..2dbd6ac22 100644
--- a/doc/source/dev/development_advanced_debugging.rst
+++ b/doc/source/dev/development_advanced_debugging.rst
@@ -106,7 +106,7 @@ Valgrind is a powerful tool to find certain memory access problems and should
be run on complicated C code.
Basic use of ``valgrind`` usually requires no more than::
- PYTHONMALLOC=malloc python runtests.py
+ PYTHONMALLOC=malloc valgrind python runtests.py
where ``PYTHONMALLOC=malloc`` is necessary to avoid false positives from python
itself.