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

Method test_from_traceback_dis

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

Source from the content-addressed store, hash-verified

2369
2370 @unittest.expectedFailure # TODO: RUSTPYTHON
2371 def test_from_traceback_dis(self):
2372 self.maxDiff = None
2373 tb = get_tb()
2374 b = dis.Bytecode.from_traceback(tb)
2375 self.assertEqual(b.dis(), dis_traceback)
2376
2377 @requires_debug_ranges()
2378 def test_bytecode_co_positions(self):

Callers

nothing calls this directly

Calls 4

from_tracebackMethod · 0.80
disMethod · 0.80
get_tbFunction · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected