MCPcopy Create free account
hub / github.com/cloudpipe/cloudpickle / test_lambda

Method test_lambda

tests/cloudpickle_test.py:265–266  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

263 )
264
265 def test_lambda(self):
266 self.assertEqual(pickle_depickle(lambda: 1, protocol=self.protocol)(), 1)
267
268 def test_nested_lambdas(self):
269 a, b = 1, 2

Callers

nothing calls this directly

Calls 1

pickle_depickleFunction · 0.85

Tested by

no test coverage detected