code: def test_fail(
      make_runner: Callable[..., TargetFunctionRunner]
  ) -> None:
      """Test traceback and error end up in the additional info of a failing run"""
      runner = make_runner(target_failed, use_instances=True)
      run_info = TrialInfo(
          config=2, instance="test", seed=0, budget=0.0
      )
  
      runner.submit_trial(run_info)
      run_info, run_value = next(runner.iter_results())
  
      # Make sure the traceback message is included
      assert "traceback" in run_value.additional_info
      assert "RuntimeError" in run_value.additional_info["traceback"]
  
imports: from __future__ import annotations
  from typing import Callable
  import time
  import pytest
  from ConfigSpace import Configuration, ConfigurationSpace
  from smac.runhistory import TrialInfo
  from smac.runner.abstract_runner import StatusType
  from smac.runner.target_function_runner import TargetFunctionRunner
  from smac.scenario import Scenario
label_desc: Use image node_id 10 for calling a global function with example usage: test_fail(make_runner) without return types