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

Method test_first_line_set_to_None

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

Source from the content-addressed store, hash-verified

2019 self.assertInstructionsEqual(list(actual), expected_opinfo_simple)
2020
2021 def test_first_line_set_to_None(self):
2022 actual = dis.get_instructions(simple, first_line=None)
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)

Callers

nothing calls this directly

Calls 3

listClass · 0.85
get_instructionsMethod · 0.80

Tested by

no test coverage detected