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

Method test_distb_last_traceback

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

Source from the content-addressed store, hash-verified

2479 dis.distb()
2480
2481 def test_distb_last_traceback(self):
2482 self.maxDiff = None
2483 # We need to have an existing last traceback in `sys`:
2484 tb = get_tb()
2485 sys.last_traceback = tb
2486
2487 self.do_disassembly_compare(self.get_disassembly(None), dis_traceback)
2488
2489 def test_distb_explicit_arg(self):
2490 self.maxDiff = None

Callers

nothing calls this directly

Calls 3

get_disassemblyMethod · 0.95
get_tbFunction · 0.70

Tested by

no test coverage detected