diff options
author | Joseph Fox-Rabinovitz <joseph.r.fox-rabinovitz@nasa.gov> | 2016-02-02 10:28:53 -0500 |
---|---|---|
committer | Joseph Fox-Rabinovitz <joseph.r.fox-rabinovitz@nasa.gov> | 2016-02-05 15:45:58 -0500 |
commit | 917e530ac952cd3398e8ce19b49adef0ab297df9 (patch) | |
tree | 5f69705947c790b77ef117123ab6ab9c8d844c54 /numpy/lib/tests/test_function_base.py | |
parent | f6a1c68ceb0c4a7494d0ce7b4fb1aed8303f70f1 (diff) | |
download | numpy-917e530ac952cd3398e8ce19b49adef0ab297df9.tar.gz |
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 |