summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-12-03 08:31:34 -0600
committerGitHub <noreply@github.com>2021-12-03 08:31:34 -0600
commit8bf4e154e77622c4905edfd2af3f5dd7b79a4957 (patch)
tree97f4976d58b162f9450db529ece05fc1cd6ef3ec
parent0e10696f55576441fd820279d9ec10cd9f2a4c5d (diff)
parent1759c054881f7d6a2f589f4dade343b9273580f9 (diff)
downloadnumpy-8bf4e154e77622c4905edfd2af3f5dd7b79a4957.tar.gz
Merge pull request #20509 from thomasjpfan/fix_memory_docs
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.