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

Method test_doubly_nested

Lib/test/test_dis.py:2035–2039  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2033 self.assertInstructionsEqual(list(actual), expected_opinfo_f)
2034
2035 def test_doubly_nested(self):
2036 with captured_stdout():
2037 inner = outer()()
2038 actual = dis.get_instructions(inner, first_line=expected_inner_line)
2039 self.assertInstructionsEqual(list(actual), expected_opinfo_inner)
2040
2041 def test_jumpy(self):
2042 actual = dis.get_instructions(jumpy, first_line=expected_jumpy_line)

Callers

nothing calls this directly

Calls 5

captured_stdoutFunction · 0.90
listClass · 0.85
get_instructionsMethod · 0.80
outerFunction · 0.70

Tested by

no test coverage detected