From dc73e1b104cf59f936e3c2bb5cfc3c0e147f99de Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Mon, 12 Aug 2013 23:31:47 -0600 Subject: 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. --- numpy/lib/tests/test_nanfunctions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy/lib/tests/test_nanfunctions.py') 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) -- cgit v1.2.1