code: def test_test_nlu_cross_validation_with_autoconfig(
      testdir: Testdir, moodbot_nlu_data_path: Path
  ):
      os.environ["LOG_LEVEL"] = "ERROR"
      config_path = str(testdir.tmpdir / "config.yml")
      nlu_path = str(testdir.tmpdir / "nlu.yml")
      shutil.copy(str(moodbot_nlu_data_path), nlu_path)
      write_yaml(
          {
              "assistant_id": "placeholder_default",
              "language": "en",
              "pipeline": None,
              "policies": None,
          },
          config_path,
      )
      args = [
          shutil.which(RASA_EXE),
          "test",
          "nlu",
          "--cross-validation",
          "-c",
          "config.yml",
          "--nlu",
          "nlu.yml",
      ]
  
      # we don't wanna run the cross validation for real, just want to see that it does
      # not crash
      try:
          run_result = testdir.run(*args, timeout=8.0)
          # we'll only get here if the run fails due to an exception
          assert run_result.ret != ExitCode.TESTS_FAILED
      except Pytester.TimeoutExpired:
          pass
  
imports: import os
  import shutil
  from pathlib import Path
  from shutil import copyfile
  from pytest import Testdir, Pytester, ExitCode
  from _pytest.pytester import RunResult
  from rasa.core.constants import CONFUSION_MATRIX_STORIES_FILE, STORIES_WITH_WARNINGS_FILE
  from rasa.constants import RESULTS_FILE
  from rasa.shared.constants import DEFAULT_RESULTS_PATH
  from rasa.shared.utils.io import list_files, write_yaml, write_text_file
  from typing import Callable
  from tests.cli.conftest import RASA_EXE
label_desc: Use image node_id 11 for calling a global function with example usage: test_test_nlu_cross_validation_with_autoconfig(testdir, moodbot_nlu_data_path) without return types