diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2017-05-09 12:16:14 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2017-05-09 12:16:14 +0300 |
commit | ef5684564e3074daf614846f30bfdd7f15f5254f (patch) | |
tree | 1b604adcf75bec0009c27d340e6ede2adb03b2ec /numpy/lib/tests/test_function_base.py | |
parent | 23b0cf3a5925dbc1f0503fbdacdf8088372f4ab5 (diff) | |
download | numpy-ef5684564e3074daf614846f30bfdd7f15f5254f.tar.gz |
ENH: Spelling fixes
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r-- | numpy/lib/tests/test_function_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index 7c07606f6..4f21e261f 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -2787,7 +2787,7 @@ class TestPercentile(TestCase): interpolation="higher").shape, (3, 3, 5, 6)) def test_scalar_q(self): - # test for no empty dimensions for compatiblity with old percentile + # test for no empty dimensions for compatibility with old percentile x = np.arange(12).reshape(3, 4) assert_equal(np.percentile(x, 50), 5.5) self.assertTrue(np.isscalar(np.percentile(x, 50))) @@ -2808,7 +2808,7 @@ class TestPercentile(TestCase): assert_equal(np.percentile(x, 50, axis=1, out=out), r1) assert_equal(out, r1) - # test for no empty dimensions for compatiblity with old percentile + # test for no empty dimensions for compatibility with old percentile x = np.arange(12).reshape(3, 4) assert_equal(np.percentile(x, 50, interpolation='lower'), 5.) self.assertTrue(np.isscalar(np.percentile(x, 50))) |