MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_default_first_line

Method test_default_first_line

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

Source from the content-addressed store, hash-verified

1999 str(instr)
2000
2001 def test_default_first_line(self):
2002 actual = dis.get_instructions(simple)
2003 self.assertInstructionsEqual(list(actual), expected_opinfo_simple)
2004
2005 def test_first_line_set_to_None(self):
2006 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