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

Method get_report

Lib/test/test_traceback.py:3216–3221  ·  view source on GitHub ↗
(self, e)

Source from the content-addressed store, hash-verified

3214
3215 @cpython_only
3216 def get_report(self, e):
3217 from _testcapi import exception_print
3218 e = self.get_exception(e)
3219 with captured_output("stderr") as s:
3220 exception_print(e)
3221 return s.getvalue()
3222
3223
3224class LimitTests(unittest.TestCase):

Callers 15

test_simpleMethod · 0.45
test_causeMethod · 0.45
test_contextMethod · 0.45
test_cause_recursiveMethod · 0.45
test_message_noneMethod · 0.45

Calls 3

captured_outputFunction · 0.90
get_exceptionMethod · 0.45
getvalueMethod · 0.45

Tested by

no test coverage detected