MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_get

Method test_get

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

Source from the content-addressed store, hash-verified

272''', "can't store markobject in the memo")
273
274 def test_get(self):
275 self.check_dis(b'(Np1\ng1\nh\x01j\x01\x00\x00\x00t.', '''\
276 0: ( MARK
277 1: N NONE
278 2: p PUT 1
279 5: g GET 1
280 8: h BINGET 1
281 10: j LONG_BINGET 1
282 15: t TUPLE (MARK at 0)
283 16: . STOP
284highest protocol among opcodes = 1
285''')
286
287 def test_get_without_put(self):
288 self.check_dis_error(b'g1\n.', '''\

Callers

nothing calls this directly

Calls 1

check_disMethod · 0.95

Tested by

no test coverage detected