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

Method test_mark

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

Source from the content-addressed store, hash-verified

175 self.assertEqual(out.getvalue(), expected)
176
177 def test_mark(self):
178 self.check_dis(b'(N(tl.', '''\
179 0: ( MARK
180 1: N NONE
181 2: ( MARK
182 3: t TUPLE (MARK at 2)
183 4: l LIST (MARK at 0)
184 5: . STOP
185highest protocol among opcodes = 0
186''')
187
188 def test_indentlevel(self):
189 self.check_dis(b'(N(tl.', '''\

Callers

nothing calls this directly

Calls 1

check_disMethod · 0.95

Tested by

no test coverage detected