Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ test_roundtrip
Function
test_roundtrip
numpy/lib/tests/test_format.py:436–439 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
434
435
436
def
test_roundtrip():
437
for
arr in basic_arrays + record_arrays:
438
arr2 = roundtrip(arr)
439
assert_array_equal(arr, arr2)
440
441
442
def
test_roundtrip_randsize():
Callers
nothing calls this directly
Calls
2
assert_array_equal
Function · 0.90
roundtrip
Function · 0.85
Tested by
no test coverage detected