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

Method test_mark

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

Source from the content-addressed store, hash-verified

199 self.assertEqual(out.getvalue(), expected)
200
201 def test_mark(self):
202 self.check_dis(b'(N(tl.', '''\
203 0: ( MARK
204 1: N NONE
205 2: ( MARK
206 3: t TUPLE (MARK at 2)
207 4: l LIST (MARK at 0)
208 5: . STOP
209highest protocol among opcodes = 0
210''')
211
212 def test_indentlevel(self):
213 self.check_dis(b'(N(tl.', '''\

Callers

nothing calls this directly

Calls 1

check_disMethod · 0.95

Tested by

no test coverage detected