code: def testSendrecvReplace(self):
      size = self.COMM.Get_size()
      rank = self.COMM.Get_rank()
      dest = (rank + 1) % size
      source = (rank - 1) % size
      for array, typecode in arrayimpl.loop():
          with arrayimpl.test(self):
              for s in range(0, size + 1):
                  with self.subTest(s=s):
                      buf = array(rank, typecode, s)
                      self.COMM.Sendrecv_replace(
                          buf.as_mpi(), dest, 0, source, 0
                      )
                      check = arrayimpl.scalar(source)
                      for value in buf:
                          self.assertEqual(value, check)
  
imports: from mpi4py import MPI
  import mpiunittest
  import itertools
  import arrayimpl
label_desc: Use image node_id 3 for calling the BaseTestP2PBuf obj's underlying member method code with example usage: obj.testSendrecvReplace() without return types