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

Function annotate_stack_trace

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

Source from the content-addressed store, hash-verified

66
67
68def annotate_stack_trace(tb=None):
69 if tb:
70 trace = TestCmd.caller(traceback.extract_tb(tb), 0)
71 else:
72 trace = TestCmd.caller(traceback.extract_stack(), 1)
73 annotation("stacktrace", trace)
74
75
76def annotation(name, value):

Callers 1

fail_testMethod · 0.85

Calls 1

annotationFunction · 0.85

Tested by

no test coverage detected