code: def testSharedQuery(self):
      memory = self.WIN.tomemory()
      address = MPI.Get_address(memory)
      length = len(memory)
      memories = self.COMM.allgather((address, length))
      rank = self.COMM.Get_rank()
      size = self.COMM.Get_size()
      for i in range(size):
          mem, disp = self.WIN.Shared_query(rank)
          base = MPI.Get_address(mem)
          size = len(mem)
          if i == rank:
              self.assertEqual(base, memories[i][0])
          self.assertEqual(size, memories[i][1])
          self.assertEqual(disp, 1)
  
imports: from mpi4py import MPI
  import mpiunittest
  import sys
label_desc: Use image node_id 3 for calling the BaseTestWinAllocateShared obj's underlying member method code with example usage: obj.testSharedQuery() without return types