diff options
author | mattip <matti.picus@gmail.com> | 2020-08-27 19:35:52 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2020-08-27 19:35:52 +0300 |
commit | 051198414ba1e2c3e56919013d4d4372c34aa994 (patch) | |
tree | a04bd92db2047c5f37b1db727d55c7b35cf9d8d4 /numpy/lib/tests/test_function_base.py | |
parent | 5bf6d68e7241498556ee1b28fc146c1c21fbb5e4 (diff) | |
download | numpy-051198414ba1e2c3e56919013d4d4372c34aa994.tar.gz |
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): |