summaryrefslogtreecommitdiff
path: root/numpy/doc/DISTUTILS.txt
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/doc/DISTUTILS.txt')
-rw-r--r--numpy/doc/DISTUTILS.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/DISTUTILS.txt b/numpy/doc/DISTUTILS.txt
index 9a7672d0e..b1a50f376 100644
--- a/numpy/doc/DISTUTILS.txt
+++ b/numpy/doc/DISTUTILS.txt
@@ -471,7 +471,7 @@ of these classes whose names contain ``test`` or start with ``bench`` are
automatically picked up by the test machinery.
A minimal example of a ``test_yyy.py`` file that implements tests for
-a Scipy package module ``numpy.xxx.yyy`` containing a function
+a NumPy package module ``numpy.xxx.yyy`` containing a function
``zzz()``, is shown below::
import sys
@@ -493,7 +493,7 @@ a Scipy package module ``numpy.xxx.yyy`` containing a function
#...
if __name__ == "__main__":
- nose.run(argv=['', __file__])
+ run_module_tests(file)
Note that all classes that are inherited from ``TestCase`` class, are
automatically picked up by the test runner.