diff options
Diffstat (limited to 'doc/TESTS.rst.txt')
-rw-r--r-- | doc/TESTS.rst.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/TESTS.rst.txt b/doc/TESTS.rst.txt index 4f2f9e79a..5ed83bc83 100644 --- a/doc/TESTS.rst.txt +++ b/doc/TESTS.rst.txt @@ -227,8 +227,10 @@ for numpy.lib:: >>> np.lib.test(doctests=True) 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 the SciPy -package also have an implicit ``import scipy as sp``). +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 +``from scipy import linalg`` has already executed. ``tests/`` |