diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-12-05 22:26:29 -0600 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-12-05 22:26:29 -0600 |
commit | 76bbd8846377d4eeed8ec8deabea028b1e3e1e23 (patch) | |
tree | 731e20a7cc3cbc37e3dccc25179b8b63a8aeea13 | |
parent | 7216177bd9a99b70d98f7a48b2f58d38abf26647 (diff) | |
download | numpy-76bbd8846377d4eeed8ec8deabea028b1e3e1e23.tar.gz |
DOC: Move links to the end of the sections in new debugging text
-rw-r--r-- | doc/source/dev/development_advanced_debugging.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/source/dev/development_advanced_debugging.rst b/doc/source/dev/development_advanced_debugging.rst index 4bf9facdf..fa4014fdb 100644 --- a/doc/source/dev/development_advanced_debugging.rst +++ b/doc/source/dev/development_advanced_debugging.rst @@ -71,8 +71,7 @@ Running the test suite only with a debug python build will not find many errors on its own. An additional advantage of a debug build of Python is that it allows detecting memory leaks. -A tool to make this easier is `pytest-leaks <https://github.com/abalkin/pytest-leaks>`_, -which can be installed using ``pip``. +A tool to make this easier is `pytest-leaks`_, which can be installed using ``pip``. Unfortunately, ``pytest`` itself may leak memory, but good results can usually (currently) be achieved by removing:: @@ -98,6 +97,7 @@ output was detected as a leak). Note that some tests are known (or even designed) to leak references, we try to mark them, but expect some false positives. +.. _pytest-leaks: https://github.com/abalkin/pytest-leaks ``valgrind`` ============ @@ -175,8 +175,7 @@ and possibly more valgrind options. Just as for ``pytest-leaks`` certain tests are known to leak cause errors in valgrind and may or may not be marked as such. -We have developed `pytest-valgrind <https://github.com/seberg/pytest-valgrind>`_ -which: +We have developed `pytest-valgrind`_ which: - Reports errors for each test individually @@ -186,3 +185,6 @@ which: Please refer to its ``README`` for more information (it includes an example command for NumPy). + +.. _pytest-valgrind: https://github.com/seberg/pytest-valgrind + |