Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_list_to_list
Method
test_list_to_list
numpy/lib/tests/test_function_base.py:1314–1316 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1312
assert_array_equal(arr, res)
1313
1314
def
test_list_to_list(self):
1315
res = trim_zeros(self.a.tolist())
1316
assert isinstance(res, list)
1317
1318
1319
class
TestExtins:
Callers
nothing calls this directly
Calls
2
trim_zeros
Function · 0.90
tolist
Method · 0.45
Tested by
no test coverage detected