summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorJonathan Helmus <jjhelmus@gmail.com>2013-09-13 17:00:27 -0500
committerJonathan Helmus <jjhelmus@gmail.com>2013-09-13 17:03:37 -0500
commit9aed31a8ba1607241947bfe886821e9eb09f6ebb (patch)
treea523eb1b1d432d1ef935967ac2cefd197bfd443e /numpy/lib/tests/test_function_base.py
parenta7fc781d286ed8c7650e3a153f8762ce8a536da0 (diff)
downloadnumpy-9aed31a8ba1607241947bfe886821e9eb09f6ebb.tar.gz
TST: additional test for percentile
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r--numpy/lib/tests/test_function_base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index f0512420e..6923f0004 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -1530,6 +1530,9 @@ class TestScoreatpercentile(TestCase):
np.percentile(a, [50], overwrite_input=False)
assert_equal(a, np.array([2, 3, 4, 1]))
+ np.percentile(a, [50])
+ assert_equal(a, np.array([2, 3, 4, 1]))
+
class TestMedian(TestCase):
def test_basic(self):