code: def test_select_multi_pkg(
      config_name: Optional[str],
      overrides: List[str],
      expected: DefaultsTreeNode,
  ) -> None:
      _test_defaults_tree_impl(
          config_name=config_name,
          input_overrides=overrides,
          expected=expected,
      )
  
imports: import re
  from textwrap import dedent
  from typing import Any, Dict, List, Optional
  from pytest import mark, param, raises, warns
  from hydra import version
  from hydra.core.default_element import ConfigDefault, DefaultsTreeNode, GroupDefault, VirtualRoot
  from hydra.core.plugins import Plugins
  from hydra.errors import ConfigCompositionException
  from hydra.test_utils.test_utils import chdir_hydra_root
  from tests.defaults_list import _test_defaults_tree_impl
label_desc: Use image node_id 42 for calling a global function with example usage: test_select_multi_pkg(config_name, overrides, expected) without return types