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

Method test_outer

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

Source from the content-addressed store, hash-verified

2023 self.assertInstructionsEqual(list(actual), expected_opinfo_simple)
2024
2025 def test_outer(self):
2026 actual = dis.get_instructions(outer, first_line=expected_outer_line)
2027 self.assertInstructionsEqual(list(actual), expected_opinfo_outer)
2028
2029 def test_nested(self):
2030 with captured_stdout():

Callers

nothing calls this directly

Calls 3

listClass · 0.85
get_instructionsMethod · 0.80

Tested by

no test coverage detected