MCPcopy Index your code
hub / github.com/RustPython/RustPython / persistent_load

Method persistent_load

Lib/test/test_pickle.py:358–360  ·  view source on GitHub ↗
(pid)

Source from the content-addressed store, hash-verified

356
357 def test_unpickler_instance_attribute(self):
358 def persistent_load(pid):
359 called.append(pid)
360 return pid
361
362 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
363 unpickler = self.unpickler(io.BytesIO(self.dumps('abc', proto)))

Callers 3

checkMethod · 0.45
persistent_loadMethod · 0.45
_persistent_loadMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected