MCPcopy Index your code
hub / github.com/python/cpython / get_context

Method get_context

Lib/test/test_concurrent_futures/util.py:118–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116 ctx = "spawn"
117
118 def get_context(self):
119 try:
120 _check_system_limits()
121 except NotImplementedError:
122 self.skipTest("ProcessPoolExecutor unavailable on this system")
123 return super().get_context()
124
125 def create_event(self):
126 return self.manager.Event()

Callers

nothing calls this directly

Calls 4

_check_system_limitsFunction · 0.90
superClass · 0.85
skipTestMethod · 0.80
get_contextMethod · 0.45

Tested by

no test coverage detected