code: def test_launch_jobs(hydra_sweep_runner: TSweepRunner) -> None:
      sweep = hydra_sweep_runner(
          calling_file=None,
          calling_module="hydra.test_utils.a_module",
          config_path="configs",
          config_name="compose.yaml",
          task_function=None,
          overrides=[
              "hydra/sweeper=optuna",
              "hydra/launcher=basic",
              "hydra.sweeper.n_trials=8",
              "hydra.sweeper.n_jobs=3",
          ],
      )
      with sweep:
          assert sweep.returns is None
  
imports: import os
  import sys
  from functools import partial
  from pathlib import Path
  from typing import Any, List, Optional
  import optuna
  from hydra.core.override_parser.overrides_parser import OverridesParser
  from hydra.core.plugins import Plugins
  from hydra.plugins.sweeper import Sweeper
  from hydra.test_utils.test_utils import TSweepRunner, chdir_plugin_root, run_process, run_python_script
  from omegaconf import DictConfig, OmegaConf
  from optuna.distributions import BaseDistribution, CategoricalDistribution, DiscreteUniformDistribution, IntLogUniformDistribution, IntUniformDistribution, LogUniformDistribution, UniformDistribution
  from optuna.samplers import RandomSampler
  from pytest import mark, warns
  from hydra_plugins.hydra_optuna_sweeper import _impl
  from hydra_plugins.hydra_optuna_sweeper._impl import OptunaSweeperImpl
  from hydra_plugins.hydra_optuna_sweeper.config import Direction
  from hydra_plugins.hydra_optuna_sweeper.optuna_sweeper import OptunaSweeper
label_desc: Use image node_id 6 for calling a global function with example usage: test_launch_jobs(hydra_sweep_runner) without return types