code: def testTestSomeRecv(self):
      comm = self.COMM.Dup()
      rank = comm.Get_rank()
      reqs = [comm.irecv(source=rank, tag=i) for i in range(6)]
      statuses = []
      idxs, objs = MPI.Request.testsome(reqs, statuses)
      self.assertEqual(idxs, [])
      self.assertEqual(objs, [])
      self.assertTrue(all(reqs))
      self.assertEqual(statuses, [])
      for indexlist in ([5], [], [3, 1, 2], [], [0, 4]):
          for i in indexlist:
              comm.ssend("abc", dest=rank, tag=i)
          statuses = []
          idxs, objs = MPI.Request.testsome(reqs, statuses)
          self.assertEqual(sorted(idxs), sorted(indexlist))
          self.assertEqual(objs, ["abc"] * len(idxs))
          self.assertFalse(any(reqs[i] for i in idxs))
          self.assertEqual(len(statuses), len(idxs))
          self.assertTrue(all(s.source == rank for s in statuses))
          self.assertTrue(all(s.tag in indexlist for s in statuses))
          self.assertTrue(all(s.error == MPI.SUCCESS for s in statuses))
      idxs, objs = MPI.Request.testsome(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 19 for calling the BaseTestP2PObj obj's underlying member method code with example usage: obj.testTestSomeRecv() without return types