code: def testNewArray(self):
      buffer = MPI.buffer
      obj = array.array("i", [1, 2, 3])
      buf = buffer(obj)
      self.assertEqual(buf.obj, obj)
      self.assertEqual(buf.nbytes, len(obj) * obj.itemsize)
      self.assertFalse(buf.readonly)
  
file_path: mpi4py/test/test_buffer.py
imports: from mpi4py import MPI
  import mpiunittest
label_desc: Use image node_id 5 for calling the TestBuffer obj's underlying member method code with example usage: obj.testNewArray() without return types