diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-08-18 11:16:06 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-08-18 11:20:45 -0600 |
commit | 8ddb0ce0acafe75d78df528b4d2540dfbf4b364d (patch) | |
tree | 156b23f48f14c7c1df699874007c521b5482d1a4 /doc/TESTS.rst.txt | |
parent | 13b0b272f764c14bc4ac34f5b19fd030d9c611a4 (diff) | |
download | numpy-8ddb0ce0acafe75d78df528b4d2540dfbf4b364d.tar.gz |
STY: Giant whitespace cleanup.
Now is as good a time as any with open PR's at a low.
Diffstat (limited to 'doc/TESTS.rst.txt')
-rw-r--r-- | doc/TESTS.rst.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/TESTS.rst.txt b/doc/TESTS.rst.txt index 2b66b5caa..bfea0e117 100644 --- a/doc/TESTS.rst.txt +++ b/doc/TESTS.rst.txt @@ -206,7 +206,7 @@ but ``test_evens`` is a generator that returns a series of tests, using A problem with generator tests can be that if a test is failing, it's hard to see for which parameters. To avoid this problem, ensure that: - - No computation related to the features tested is done in the + - No computation related to the features tested is done in the ``test_*`` generator function, but delegated to a corresponding ``check_*`` function (can be inside the generator, to share namespace). - The generators are used *solely* for loops over parameters. @@ -236,7 +236,7 @@ for numpy.lib:: The doctests are run as if they are in a fresh Python instance which has executed ``import numpy as np``. Tests that are part of a SciPy subpackage will have that subpackage already imported. E.g. for a test -in ``scipy/linalg/tests/``, the namespace will be created such that +in ``scipy/linalg/tests/``, the namespace will be created such that ``from scipy import linalg`` has already executed. |