summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
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 10e3790ea..4949eba5d 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -967,5 +967,8 @@ def compare_results(res, desired):
assert_array_equal(res[i], desired[i])
+def test_percentile_list():
+ assert_equal(np.percentile([1,2,3], 0), 1)
+
if __name__ == "__main__":
run_module_suite()