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

Method __init__

tools/test.py:522–530  ·  view source on GitHub ↗
(self, cases, flaky_tests_mode, measure_flakiness)

Source from the content-addressed store, hash-verified

520class MonochromeProgressIndicator(CompactProgressIndicator):
521
522 def __init__(self, cases, flaky_tests_mode, measure_flakiness):
523 templates = {
524 'status_line': "[%(mins)02i:%(secs)02i|%%%(remaining) 4d|+%(passed) 4d|-%(failed) 4d]: %(test)s",
525 'stdout': '%s',
526 'stderr': '%s',
527 'clear': lambda last_line_length: ("\r" + (" " * last_line_length) + "\r"),
528 'max_length': 78
529 }
530 super(MonochromeProgressIndicator, self).__init__(cases, flaky_tests_mode, measure_flakiness, templates)
531
532 def ClearLine(self, last_line_length):
533 print(("\r" + (" " * last_line_length) + "\r"), end='')

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected