code: def test_subpg_scatter_object(self):
      rank, ranks, my_pg = self.setup_sub_pg()
      out_list = [None]
      dist.scatter_object_list(
          out_list, ranks, src=ranks[0], group=my_pg
      )
      self.assertEqual(rank, out_list[0])
  
imports: import os
  import sys
  from functools import wraps, partial
  import torch
  import torch.distributed
  from torch.testing._internal.common_distributed import MultiProcessTestCase, TEST_SKIPS
  from torch.testing._internal.common_utils import run_tests, TEST_WITH_DEV_DBG_ASAN
label_desc: Use image node_id 12 for calling the TestObjectCollectives obj's underlying member method code with example usage: obj.test_subpg_scatter_object() without return types