MCPcopy Index your code
hub / github.com/nodejs/node / PrintFailureHeader

Method PrintFailureHeader

tools/test.py:140–149  ·  view source on GitHub ↗
(self, test)

Source from the content-addressed store, hash-verified

138 print(self.GetFailureOutput(failure))
139
140 def PrintFailureHeader(self, test):
141 if test.IsNegative():
142 negative_marker = '[negative] '
143 else:
144 negative_marker = ''
145 print("=== %(label)s %(negative)s===" % {
146 'label': test.GetLabel(),
147 'negative': negative_marker
148 })
149 print("Path: %s" % "/".join(test.path))
150
151 def Run(self, tasks) -> Dict:
152 self.Starting()

Callers 2

DoneMethod · 0.80
HasRunMethod · 0.80

Calls 4

IsNegativeMethod · 0.80
printFunction · 0.50
GetLabelMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected