diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-02-07 10:38:53 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-02-07 10:38:53 -0700 |
commit | 35b5f5be1ffffada84c8be207e7b8b196a58f786 (patch) | |
tree | 0cc15e687d7112981791d463aeb7850855b7eea2 /numpy/lib/tests/test_function_base.py | |
parent | a1ab9cff35bfca03bf2a8fd6aea9f589670e69ad (diff) | |
parent | 917e530ac952cd3398e8ce19b49adef0ab297df9 (diff) | |
download | numpy-35b5f5be1ffffada84c8be207e7b8b196a58f786.tar.gz |
Merge pull request #7181 from madphysicist/doc-typos
DOC: Updated minor typos in function_base.py and test_function_base.py
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r-- | numpy/lib/tests/test_function_base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index c3483b032..ba2448815 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -2100,7 +2100,7 @@ class TestPercentile(TestCase): # Test defaults assert_equal(np.percentile(range(10), 50), 4.5) - # explicitly specify interpolation_method 'fraction' (the default) + # explicitly specify interpolation_method 'linear' (the default) assert_equal(np.percentile(range(10), 50, interpolation='linear'), 4.5) @@ -2421,6 +2421,7 @@ class TestPercentile(TestCase): np.array([np.nan] * 2)) assert_(w[0].category is RuntimeWarning) assert_(w[1].category is RuntimeWarning) + assert_(w[2].category is RuntimeWarning) a = np.arange(24, dtype=float).reshape(2, 3, 4) a[1, 2, 3] = np.nan |