Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudpipe/cloudpickle
/ test_lambda
Method
test_lambda
tests/cloudpickle_test.py:264–265 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
262
)
263
264
def
test_lambda(self):
265
self.assertEqual(pickle_depickle(
lambda
: 1, protocol=self.protocol)(), 1)
266
267
def
test_nested_lambdas(self):
268
a, b = 1, 2
Callers
nothing calls this directly
Calls
1
pickle_depickle
Function · 0.85
Tested by
no test coverage detected