code: def testMemory2(self):
      for size in range(0, 10000, 100):
          try:
              mem2 = MPI.Alloc_mem(size, MPI.INFO_NULL)
              self.assertEqual(len(mem2), size)
              MPI.Free_mem(mem2)
          except NotImplementedError:
              self.skipTest("mpi-alloc_mem")
  
imports: from mpi4py import MPI
  import mpiunittest
label_desc: Use image node_id 2 for calling the TestMemory obj's underlying member method code with example usage: obj.testMemory2() without return types