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

Method __init__

tools/gyp/test_gyp.py:168–179  ·  view source on GitHub ↗
(self, formats, tests, gyp_options, verbose)

Source from the content-addressed store, hash-verified

166
167class Runner:
168 def __init__(self, formats, tests, gyp_options, verbose):
169 self.formats = formats
170 self.tests = tests
171 self.verbose = verbose
172 self.gyp_options = gyp_options
173 self.failures = []
174 self.num_tests = len(formats) * len(tests)
175 num_digits = len(str(self.num_tests))
176 self.fmt_str = "[%%%dd/%%%dd] (%%s) %%s" % (num_digits, num_digits)
177 self.isatty = sys.stdout.isatty() and not self.verbose
178 self.env = os.environ.copy()
179 self.hpos = 0
180
181 def run(self):
182 run_start = time.time()

Callers

nothing calls this directly

Calls 2

strFunction · 0.85
copyMethod · 0.65

Tested by

no test coverage detected