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

Function caller

v2/test/TestCmd.py:85–100  ·  view source on GitHub ↗
(tblist, skip)

Source from the content-addressed store, hash-verified

83
84
85def caller(tblist, skip):
86 string = ""
87 arr = []
88 for file, line, name, text in tblist:
89 if file[-10:] == "TestCmd.py":
90 break
91 arr = [(file, line, name, text)] + arr
92 atfrom = "at"
93 for file, line, name, text in arr[skip:]:
94 if name == "?":
95 name = ""
96 else:
97 name = " (" + name + ")"
98 string = string + ("%s line %d of %s%s\n" % (atfrom, line, file, name))
99 atfrom = "\tfrom"
100 return string
101
102
103def fail_test(self=None, condition=True, function=None, skip=0):

Callers 2

fail_testFunction · 0.85
no_resultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected