MCPcopy
hub / github.com/pytest-dev/pytest / round_trip

Method round_trip

testing/test_pathlib.py:706–708  ·  testing/test_pathlib.py::TestImportLibMode.round_trip
(obj)

Source from the content-addressed store, hash-verified

704 import pickle
705
706 def round_trip(obj):
707 s = pickle.dumps(obj)
708 return pickle.loads(s)
709
710 module = import_path(
711 fn1, mode=class="st">"importlib", root=tmp_path, consider_namespace_packages=ns_param

Callers

nothing calls this directly

Calls 1

dumpsMethod · 0.80

Tested by

no test coverage detected