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

Method test_put

Lib/test/test_pickletools.py:216–225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

214''', 'no MARK exists on stack')
215
216 def test_put(self):
217 self.check_dis(b'Np0\nq\x01r\x02\x00\x00\x00\x94.', '''\
218 0: N NONE
219 1: p PUT 0
220 4: q BINPUT 1
221 6: r LONG_BINPUT 2
222 11: \\x94 MEMOIZE (as 3)
223 12: . STOP
224highest protocol among opcodes = 4
225''')
226
227 def test_put_redefined(self):
228 self.check_dis(b'Np1\np1\nq\x01r\x01\x00\x00\x00\x94.', '''\

Callers

nothing calls this directly

Calls 1

check_disMethod · 0.95

Tested by

no test coverage detected