code: def testScatterv2(self):
      size = self.COMM.Get_size()
      rank = self.COMM.Get_rank()
      for array, typecode in arrayimpl.loop():
          for root in range(size):
              check_a = arrayimpl.scalar(root)
              check_b = arrayimpl.scalar(-1)
              for count in range(size):
                  sbuf = array(root, typecode, size * size)
                  rbuf = array(-1, typecode, size)
                  sendbuf = sbuf.as_mpi_v(count, size)
                  recvbuf = rbuf.as_mpi_c(count)
                  if rank != root:
                      sendbuf = None
                  self.COMM.Scatterv(sendbuf, recvbuf, root)
                  a, b = rbuf[:count], rbuf[count:]
                  for va in a:
                      self.assertEqual(va, check_a)
                  for vb in b:
                      self.assertEqual(vb, check_b)
  
imports: from mpi4py import MPI
  import mpiunittest
  import arrayimpl
label_desc: Use image node_id 5 for calling the BaseTestCCOVec obj's underlying member method code with example usage: obj.testScatterv2() without return types