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

Method get_disassembly

Lib/test/test_dis.py:2471–2475  ·  view source on GitHub ↗
(self, tb)

Source from the content-addressed store, hash-verified

2469 return super().setUp()
2470
2471 def get_disassembly(self, tb):
2472 output = io.StringIO()
2473 with contextlib.redirect_stdout(output):
2474 dis.distb(tb)
2475 return output.getvalue()
2476
2477 def test_distb_empty(self):
2478 with self.assertRaises(RuntimeError):

Callers 2

Calls 1

getvalueMethod · 0.95

Tested by

no test coverage detected