MCPcopy Create free account
hub / github.com/nodejs/node / os_context

Function os_context

deps/v8/tools/testrunner/local/context.py:132–136  ·  view source on GitHub ↗
(target_os, options)

Source from the content-addressed store, hash-verified

130
131@contextmanager
132def os_context(target_os, options):
133 factory = find_os_context_factory(target_os)
134 context_instance = factory()
135 with context_instance.handle_context(options):
136 yield context_instance

Callers 1

executeMethod · 0.90

Calls 3

find_os_context_factoryFunction · 0.85
factoryFunction · 0.50
handle_contextMethod · 0.45

Tested by

no test coverage detected