code: def test_hvd_distrib_multi_node_spawn_raise_error():
      world_size = 4
  
      with pytest.raises(
          RuntimeError,
          match=r"For multi-node configuration, please set 'hosts' argument instead",
      ):
          idist.spawn(
              "horovod",
              _test_distrib_config,
              args=("horovod", world_size, "cpu"),
              nproc_per_node=world_size,
              nnodes=2,
          )
  
imports: import os
  import pytest
  import torch
  import ignite.distributed
  from ignite.distributed.utils import has_hvd_support
  from tests.ignite.distributed.utils import _test_distrib__get_max_length, _test_distrib_all_gather, _test_distrib_all_gather_group, _test_distrib_all_reduce, _test_distrib_all_reduce_group, _test_distrib_barrier, _test_distrib_broadcast, _test_distrib_config, _test_distrib_new_group, _test_distrib_one_rank_only, _test_distrib_one_rank_only_with_engine, _test_sync
label_desc: Use image node_id 4 for calling a global function with example usage: test_hvd_distrib_multi_node_spawn_raise_error() without return types