summaryrefslogtreecommitdiff
path: root/doc/TESTS.rst.txt
diff options
context:
space:
mode:
authorRobert Kern <robert.kern@gmail.com>2011-04-01 17:48:39 -0500
committerCharles Harris <charlesr.harris@gmail.com>2011-04-01 20:25:17 -0600
commitd44e74df3d31dfcd37eeef11bf5af14189c42433 (patch)
treebbaac738d82d5a2ee0c3bb567a89c7f263d43291 /doc/TESTS.rst.txt
parent99836f38289ed77b635a066e0ce4c7fa8aa5848d (diff)
downloadnumpy-d44e74df3d31dfcd37eeef11bf5af14189c42433.tar.gz
DOC: Remove the advice to 'import scipy as sp' from the documentation.
Correct a statement about how doctest namespaces are initialized in scipy.
Diffstat (limited to 'doc/TESTS.rst.txt')
-rw-r--r--doc/TESTS.rst.txt6
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/``