diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-08-27 13:59:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 13:59:08 -0500 |
commit | e4e0ab8e5ba9cdf17f9bd2c3c9e06e3d12030022 (patch) | |
tree | a04bd92db2047c5f37b1db727d55c7b35cf9d8d4 /numpy/lib/tests/test_function_base.py | |
parent | 5bf6d68e7241498556ee1b28fc146c1c21fbb5e4 (diff) | |
parent | 051198414ba1e2c3e56919013d4d4372c34aa994 (diff) | |
download | numpy-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.py | 4 |
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): |