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

Method test_indentlevel

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

Source from the content-addressed store, hash-verified

186''')
187
188 def test_indentlevel(self):
189 self.check_dis(b'(N(tl.', '''\
190 0: ( MARK
191 1: N NONE
192 2: ( MARK
193 3: t TUPLE (MARK at 2)
194 4: l LIST (MARK at 0)
195 5: . STOP
196highest protocol among opcodes = 0
197''', indentlevel=2)
198
199 def test_mark_without_pos(self):
200 self.check_dis(SimpleReader(b'(N(tl.'), '''\

Callers

nothing calls this directly

Calls 1

check_disMethod · 0.95

Tested by

no test coverage detected