From 9aed31a8ba1607241947bfe886821e9eb09f6ebb Mon Sep 17 00:00:00 2001 From: Jonathan Helmus Date: Fri, 13 Sep 2013 17:00:27 -0500 Subject: TST: additional test for percentile --- numpy/lib/tests/test_function_base.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'numpy/lib/tests/test_function_base.py') 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): -- cgit v1.2.1