code: def test_choose_next(make_scenario):
      cs = _test_helpers.get_branin_config_space()
      config = cs.sample_configuration()
      scenario = make_scenario(cs)
      rh = RunHistory()
      rh.add(config, 10, 10, StatusType.SUCCESS)
      tae = lambda x: x
      smbo = TuRBOFacade(
          scenario=scenario,
          target_function=tae,
          runhistory=rh,
          overwrite=True,
      ).optimizer
  
      x = next(smbo.ask()).get_array()
      assert x.shape == (2,)
  
      # remove the init configs
      smbo.turbo.init_configs = []
      x = next(smbo.ask()).get_array()
  
      assert x.shape == (2,)
  
file_path: SMAC3/tests/test_main/_test_turbo.py
imports: import unittest
  import numpy
  from smac.facade.blackbox_facade import BlackBoxFacade
  from smac.main.turbo import TuRBOSMBO
  from smac.runhistory.runhistory import RunHistory
  from smac.runner.abstract_runner import StatusType
  from smac.scenario import Scenario
  from smac.utils import _test_helpers
label_desc: Use image node_id 1 for calling a global function with example usage: test_choose_next(make_scenario) without return types