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

Method test_odict_values

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

Source from the content-addressed store, hash-verified

239 assert type(keys) is type(results)
240
241 def test_odict_values(self):
242 values = collections.OrderedDict([("a", 1), ("b", 2)]).values()
243 results = pickle_depickle(values)
244 self.assertEqual(list(results), list(values))
245 assert type(values) is type(results)
246
247 def test_odict_items(self):
248 items = collections.OrderedDict([("a", 1), ("b", 2)]).items()

Callers

nothing calls this directly

Calls 1

pickle_depickleFunction · 0.85

Tested by

no test coverage detected