code: def setup_method(self):
      x = np.array(
          [
              8.375,
              7.545,
              8.828,
              8.5,
              1.757,
              5.928,
              8.43,
              7.78,
              9.865,
              5.878,
              8.979,
              4.732,
              3.012,
              6.022,
              5.095,
              3.116,
              5.238,
              3.957,
              6.04,
              9.63,
              7.712,
              3.382,
              4.489,
              6.479,
              7.189,
              9.645,
              5.395,
              4.961,
              9.894,
              2.893,
              7.357,
              9.828,
              6.272,
              3.758,
              6.693,
              0.993,
          ]
      )
      X = x.reshape(6, 6)
      XX = x.reshape(3, 2, 2, 3)
  
      m = np.array(
          [
              0,
              1,
              0,
              1,
              0,
              0,
              1,
              0,
              1,
              1,
              0,
              1,
              0,
              0,
              0,
              1,
              0,
              1,
              0,
              0,
              0,
              1,
              1,
              1,
              1,
              0,
              0,
              1,
              0,
              0,
              0,
              0,
              1,
              0,
              1,
              0,
          ]
      )
      mx = array(data=x, mask=m)
      mX = array(data=X, mask=m.reshape(X.shape))
      mXX = array(data=XX, mask=m.reshape(XX.shape))
  
      self.d = (x, X, XX, m, mx, mX, mXX)
  
imports: from functools import reduce
  import pytest
  import numpy
  import numpy.core.umath
  import numpy.core.fromnumeric
  from numpy.testing import assert_, assert_raises, assert_equal
  from numpy.ma import MaskType, MaskedArray, absolute, add, all, allclose, allequal, alltrue, arange, arccos, arcsin, arctan, arctan2, array, average, choose, concatenate, conjugate, cos, cosh, count, divide, equal, exp, filled, getmask, greater, greater_equal, inner, isMaskedArray, less, less_equal, log, log10, make_mask, masked, masked_array, masked_equal, masked_greater, masked_greater_equal, masked_inside, masked_less, masked_less_equal, masked_not_equal, masked_outside, masked_print_option, masked_values, masked_where, maximum, minimum, multiply, nomask, nonzero, not_equal, ones, outer, product, put, ravel, repeat, resize, shape, sin, sinh, sometrue, sort, sqrt, subtract, sum, take, tan, tanh, transpose, where, zeros
  from numpy.compat import pickle
label_desc: Use image node_id 1 for calling the TestArrayMethods obj's underlying member method code with example usage: obj.setup_method() without return types