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

Method test_nested

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

Source from the content-addressed store, hash-verified

2027 self.assertInstructionsEqual(list(actual), expected_opinfo_outer)
2028
2029 def test_nested(self):
2030 with captured_stdout():
2031 f = outer()
2032 actual = dis.get_instructions(f, first_line=expected_f_line)
2033 self.assertInstructionsEqual(list(actual), expected_opinfo_f)
2034
2035 def test_doubly_nested(self):
2036 with captured_stdout():

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