MCPcopy Index your code
hub / github.com/python/cpython / set_pickle_data

Method set_pickle_data

Lib/test/test_pickle.py:772–774  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

770 return dedent(string).strip()
771
772 def set_pickle_data(self, data):
773 with open(self.filename, 'wb') as f:
774 pickle.dump(data, f)
775
776 def invoke_pickle(self, *flags):
777 output = io.StringIO()

Callers 1

test_invocationMethod · 0.95

Calls 2

openFunction · 0.50
dumpMethod · 0.45

Tested by

no test coverage detected