summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-08-27 13:59:08 -0500
committerGitHub <noreply@github.com>2020-08-27 13:59:08 -0500
commite4e0ab8e5ba9cdf17f9bd2c3c9e06e3d12030022 (patch)
treea04bd92db2047c5f37b1db727d55c7b35cf9d8d4 /numpy/lib/tests/test_function_base.py
parent5bf6d68e7241498556ee1b28fc146c1c21fbb5e4 (diff)
parent051198414ba1e2c3e56919013d4d4372c34aa994 (diff)
downloadnumpy-e4e0ab8e5ba9cdf17f9bd2c3c9e06e3d12030022.tar.gz
Merge pull request #17171 from mattip/revert-16911
BUG: revert trim_zeros changes from gh-16911
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r--numpy/lib/tests/test_function_base.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 34a395ee4..41afccacc 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -1225,6 +1225,10 @@ class TestTrimZeros:
assert_array_equal(arr, res)
+ def test_list_to_list(self):
+ res = trim_zeros(self.a.tolist())
+ assert isinstance(res, list)
+
class TestExtins:
def test_basic(self):