MCPcopy Create free account
hub / github.com/boostorg/build / annotate_stack_trace

Function annotate_stack_trace

test/BoostBuild.py:82–87  ·  view source on GitHub ↗
(tb=None)

Source from the content-addressed store, hash-verified

80
81
82def annotate_stack_trace(tb=None):
83 if tb:
84 trace = TestCmd.caller(traceback.extract_tb(tb), 0)
85 else:
86 trace = TestCmd.caller(traceback.extract_stack(), 1)
87 annotation("stacktrace", trace)
88
89
90def annotation(name, value):

Callers 1

fail_testMethod · 0.85

Calls 1

annotationFunction · 0.85

Tested by

no test coverage detected