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

Method local_func

tests/cloudpickle_test.py:1579–1580  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1577
1578 def test_function_module_name(self):
1579 def local_func(x):
1580 return x
1581
1582 for func in [local_func, lambda x: x]:
1583 cloned = pickle_depickle(func, protocol=self.protocol)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected