parameters: (test_index, test)
docstring: Run one test in a multiprocessing.Pool
  
      Side effects in this function and functions it calls are not visible in the
      main lit process.
  
      Arguments and results of this function are pickled, so they should be cheap
      to copy. For efficiency, we copy all data needed to execute all tests into
      each worker and store it in the child_* global variables. This reduces the
      cost of each task.
  
      Returns an index and a Result, which the parent process uses to update
      the display.
docstring_summary: Run one test in a multiprocessing.Pool
docstring_tokens: Run one test in a multiprocessing . Pool
function: def worker_run_one_test(test_index, test):
      """Run one test in a multiprocessing.Pool
  
      Side effects in this function and functions it calls are not visible in the
      main lit process.
  
      Arguments and results of this function are pickled, so they should be cheap
      to copy. For efficiency, we copy all data needed to execute all tests into
      each worker and store it in the child_* global variables. This reduces the
      cost of each task.
  
      Returns an index and a Result, which the parent process uses to update
      the display.
      """
      try:
          _execute_test_impl(test, child_lit_config, child_parallelism_semaphores)
          return (test_index, test)
      except KeyboardInterrupt as e:
          # If a worker process gets an interrupt, abort it immediately.
          abort_now()
      except:
          traceback.print_exc()
function_tokens: def worker_run_one_test ( test_index , test ) : try : _execute_test_impl ( test , child_lit_config , child_parallelism_semaphores ) return ( test_index , test ) except KeyboardInterrupt as e : # If a worker process gets an interrupt, abort it immediately. abort_now ( ) except : traceback . print_exc ( )