code: def testWaitSomeSend(self):
      comm = self.COMM.Dup()
      rank = comm.Get_rank()
      reqs = [comm.issend("abc", dest=rank, tag=i) for i in range(6)]
      for indexlist in ([5], [3, 1, 2], [0, 4]):
          for i in indexlist:
              msg = comm.recv(source=rank, tag=i)
              self.assertEqual(msg, "abc")
          idxs, objs = MPI.Request.waitsome(reqs)
          while sorted(idxs) != sorted(indexlist):
              i, o = MPI.Request.waitsome(reqs)
              idxs.extend(i)
              objs.extend(o)
          self.assertEqual(sorted(idxs), sorted(indexlist))
          self.assertEqual(objs, [None] * len(idxs))
          self.assertFalse(any(reqs[i] for i in idxs))
      idxs, objs = MPI.Request.waitsome(reqs)
      self.assertIsNone(idxs)
      self.assertIsNone(objs)
      self.assertFalse(any(reqs))
      comm.Free()
  
imports: from mpi4py import MPI
  import mpiunittest
  import threading
  import warnings
  import sys
label_desc: Use image node_id 20 for calling the BaseTestP2PObj obj's underlying member method code with example usage: obj.testWaitSomeSend() without return types