code: def test_runner_no_batch_trials(self) -> None:
      experiment = Experiment(
          name="runner_test",
          search_space=SearchSpace(parameters=self._parameters),
          optimization_config=OptimizationConfig(
              objective=self._objective
          ),
          runner=self._runner,
          is_test=True,
      )
  
      with self.assertRaises(ValueError):
          self._runner.run(trial=BatchTrial(experiment))
  
file_path: Ax/ax/runners/tests/test_torchx.py
imports: import os
  import shutil
  import tempfile
  from typing import List
  from ax.core import BatchTrial, Experiment, Objective, OptimizationConfig, Parameter, ParameterType, RangeParameter, SearchSpace
  from ax.metrics.torchx import TorchXMetric
  from ax.modelbridge.dispatch_utils import choose_generation_strategy
  from ax.runners.torchx import TorchXRunner
  from ax.service.scheduler import FailureRateExceededError, Scheduler, SchedulerOptions
  from ax.utils.common.constants import Keys
  from ax.utils.common.testutils import TestCase
  from torchx.components import utils
label_desc: Use image node_id 6 for calling the TorchXRunnerTest obj's underlying member method code with example usage: obj.test_runner_no_batch_trials() without return types