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

Class MyException

Lib/test/test_exceptions.py:650–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648 self.assertEqual(e.__traceback__, tb)
649
650 class MyException(Exception):
651 pass
652
653 e = MyException().with_traceback(tb)
654 self.assertIsInstance(e, MyException)

Callers 4

testWithTracebackMethod · 0.70
testChainingAttrsMethod · 0.70
inner_raising_funcMethod · 0.70
raising_genMethod · 0.70

Calls

no outgoing calls

Tested by 4

testWithTracebackMethod · 0.56
testChainingAttrsMethod · 0.56
inner_raising_funcMethod · 0.56
raising_genMethod · 0.56