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

Method __init__

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

Source from the content-addressed store, hash-verified

506class ColorProgressIndicator(CompactProgressIndicator):
507
508 def __init__(self, cases, flaky_tests_mode, measure_flakiness):
509 templates = {
510 'status_line': "[%(mins)02i:%(secs)02i|\033[34m%%%(remaining) 4d\033[0m|\033[32m+%(passed) 4d\033[0m|\033[31m-%(failed) 4d\033[0m]: %(test)s",
511 'stdout': "\033[1m%s\033[0m",
512 'stderr': "\033[31m%s\033[0m",
513 }
514 super(ColorProgressIndicator, self).__init__(cases, flaky_tests_mode, measure_flakiness, templates)
515
516 def ClearLine(self, last_line_length):
517 print("\033[1K\r", end='')

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected