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

Method test_setitems_on_non_dicts

Lib/test/pickletester.py:3845–3851  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3843 self._check_pickling_with_opcode(obj, pickle.APPENDS, proto)
3844
3845 def test_setitems_on_non_dicts(self):
3846 obj = REX_seven({1: -1, 2: -2, 3: -3})
3847 for proto in protocols:
3848 if proto == 0:
3849 self._check_pickling_with_opcode(obj, pickle.SETITEM, proto)
3850 else:
3851 self._check_pickling_with_opcode(obj, pickle.SETITEMS, proto)
3852
3853 # Exercise framing (proto >= 4) for significant workloads
3854

Callers

nothing calls this directly

Calls 2

REX_sevenClass · 0.85

Tested by

no test coverage detected