MCPcopy Index your code
hub / github.com/cloudpipe/cloudpickle / g

Function g

tests/testutils.py:23–27  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

21
22def make_local_function():
23 def g(x):
24 # this function checks that the globals are correctly handled and that
25 # the builtins are available
26 assert TEST_GLOBALS == "a test value"
27 return sum(range(10))
28
29 return g
30

Callers 2

gMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected