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

Method test_get

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

Source from the content-addressed store, hash-verified

248''', "can't store markobject in the memo")
249
250 def test_get(self):
251 self.check_dis(b'(Np1\ng1\nh\x01j\x01\x00\x00\x00t.', '''\
252 0: ( MARK
253 1: N NONE
254 2: p PUT 1
255 5: g GET 1
256 8: h BINGET 1
257 10: j LONG_BINGET 1
258 15: t TUPLE (MARK at 0)
259 16: . STOP
260highest protocol among opcodes = 1
261''')
262
263 def test_get_without_put(self):
264 self.check_dis_error(b'g1\n.', '''\

Callers

nothing calls this directly

Calls 1

check_disMethod · 0.95

Tested by

no test coverage detected