code: def test_array_proxy(self):
      # Get the cached data copy
      dat = self.img.get_fdata()
      # Make a new one to test arrayproxy
      img = self.image_class.load(self.example_file)
      data_prox = img.dataobj
      data2 = np.array(data_prox)
      assert_array_equal(data2, dat)
      # Check it rereads
      data3 = np.array(data_prox)
      assert_array_equal(data3, dat)
  
imports: import os
  import warnings
  from pathlib import Path
  from unittest import TestCase
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from ..ecat import EcatHeader, EcatImage, EcatSubHeader, get_frame_order, get_series_framenumbers, read_mlist
  from ..openers import Opener
  from ..testing import data_path, suppress_warnings
  from ..tmpdirs import InTemporaryDirectory
  from .None import test_wrapstruct
  from .test_fileslice import slicer_samples
label_desc: Use image node_id 4 for calling the TestEcatImage obj's underlying member method code with example usage: obj.test_array_proxy() without return types