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

Method test_dict_values

tests/cloudpickle_test.py:223–227  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

221 assert isinstance(results, _collections_abc.dict_keys)
222
223 def test_dict_values(self):
224 values = {"a": 1, "b": 2}.values()
225 results = pickle_depickle(values)
226 self.assertEqual(sorted(results), sorted(values))
227 assert isinstance(results, _collections_abc.dict_values)
228
229 def test_dict_items(self):
230 items = {"a": 1, "b": 2}.items()

Callers

nothing calls this directly

Calls 1

pickle_depickleFunction · 0.85

Tested by

no test coverage detected