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

Class Unpicklable

tests/cloudpickle_test.py:193–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192 def test_func_globals(self):
193 class Unpicklable:
194 def __reduce__(self):
195 raise Exception("not picklable")
196
197 global exit
198 exit = Unpicklable()

Callers 1

test_func_globalsMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_func_globalsMethod · 0.68