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

Method test_default_first_line

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

Source from the content-addressed store, hash-verified

2015 str(instr)
2016
2017 def test_default_first_line(self):
2018 actual = dis.get_instructions(simple)
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)

Callers

nothing calls this directly

Calls 3

listClass · 0.85
get_instructionsMethod · 0.80

Tested by

no test coverage detected