summaryrefslogtreecommitdiff
path: root/numpy/lib/tests
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-08-12 23:31:47 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-08-14 15:52:29 -0600
commitdc73e1b104cf59f936e3c2bb5cfc3c0e147f99de (patch)
treedcf9c55d49c55ff73db083e6e330be22ee97378c /numpy/lib/tests
parenta36ef7a8a8dd74830e0af3c8135cf4077891a96d (diff)
downloadnumpy-dc73e1b104cf59f936e3c2bb5cfc3c0e147f99de.tar.gz
DOC: Various fixes.
Fix typos and clarify some explanations. Document the changes in the return values of nanargmin and nanargmax for all-NaN slices in the 1.8.0 release notes.
Diffstat (limited to 'numpy/lib/tests')
-rw-r--r--numpy/lib/tests/test_nanfunctions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/tests/test_nanfunctions.py b/numpy/lib/tests/test_nanfunctions.py
index 41d6e7cf5..93a5ef855 100644
--- a/numpy/lib/tests/test_nanfunctions.py
+++ b/numpy/lib/tests/test_nanfunctions.py
@@ -35,7 +35,7 @@ class TestNanFunctions_MinMax(TestCase):
stdfuncs = [np.min, np.max]
def test_mutation(self):
- # Check that passes array is no modified.
+ # Check that passed array is not modified.
ndat = _ndat.copy()
for f in self.nanfuncs:
f(ndat)
@@ -99,7 +99,7 @@ class TestNanFunctions_ArgminArgmax(TestCase):
nanfuncs = [nanargmin, nanargmax]
def test_mutation(self):
- # Check that passes array is no modified.
+ # Check that passed array is not modified.
ndat = _ndat.copy()
for f in self.nanfuncs:
f(ndat)
@@ -177,7 +177,7 @@ class TestNanFunctions_IntTypes(TestCase):
class TestNanFunctions_Sum(TestCase):
def test_mutation(self):
- # Check that passes array is no modified.
+ # Check that passed array is not modified.
ndat = _ndat.copy()
nansum(ndat)
assert_equal(ndat, _ndat)
@@ -282,7 +282,7 @@ class TestNanFunctions_MeanVarStd(TestCase):
stdfuncs = [np.mean, np.var, np.std]
def test_mutation(self):
- # Check that passes array is no modified.
+ # Check that passed array is not modified.
ndat = _ndat.copy()
for f in self.nanfuncs:
f(ndat)