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

Method test_indentlevel

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

Source from the content-addressed store, hash-verified

210''')
211
212 def test_indentlevel(self):
213 self.check_dis(b'(N(tl.', '''\
214 0: ( MARK
215 1: N NONE
216 2: ( MARK
217 3: t TUPLE (MARK at 2)
218 4: l LIST (MARK at 0)
219 5: . STOP
220highest protocol among opcodes = 0
221''', indentlevel=2)
222
223 def test_mark_without_pos(self):
224 self.check_dis(SimpleReader(b'(N(tl.'), '''\

Callers

nothing calls this directly

Calls 1

check_disMethod · 0.95

Tested by

no test coverage detected