code: def test_spawn_multi_process(self) -> None:
      mp_list = spawn_multi_process(
          2, "gloo", self._test_method, 3, offset_kwarg=2
      )
      self.assertEqual(mp_list, [1, 2])
  
imports: import unittest
  from torchtnt.utils.distributed import get_global_rank
  from torchtnt.utils.test_utils import skip_if_not_distributed, spawn_multi_process
label_desc: Use image node_id 2 for calling the TestUtilsTest obj's underlying member method code with example usage: obj.test_spawn_multi_process() without return types