Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ test_array_serialization
Function
test_array_serialization
tools/python/test/test_array.py:67–71 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
66
67
def
test_array_serialization():
68
a = array([0, 1, 2, 3, 4])
69
ser = pickle.dumps(a, 2)
70
deser = pickle.loads(ser)
71
assert a == deser
72
73
74
def
test_array_extend():
Callers
nothing calls this directly
Calls
1
array
Class · 0.90
Tested by
no test coverage detected