code: def test_setitem_array(self):
      arr = LabelArray(self.strs, missing_value=None)
      orig_arr = arr.copy()
  
      # Write a row.
      self.assertFalse(
          (arr[0] == arr[1]).all(),
          "This test doesn't test anything because rows 0"
          " and 1 are already equal!",
      )
      arr[0] = arr[1]
      for i in range(arr.shape[1]):
          self.assertEqual(arr[0, i], arr[1, i])
  
      # Write a column.
      self.assertFalse(
          (arr[:, 0] == arr[:, 1]).all(),
          "This test doesn't test anything because columns 0"
          " and 1 are already equal!",
      )
      arr[:, 0] = arr[:, 1]
      for i in range(arr.shape[0]):
          self.assertEqual(arr[i, 0], arr[i, 1])
  
      # Write the whole array.
      arr[:] = orig_arr
      check_arrays(arr, orig_arr)
  
imports: from itertools import product
  from operator import eq, ne
  import warnings
  import numpy
  from toolz import take
  from catalyst.lib.labelarray import LabelArray
  from catalyst.testing import check_arrays, parameter_space, CatalystTestCase
  from catalyst.testing.predicates import assert_equal
  from catalyst.utils.compat import unicode
label_desc: Use image node_id 13 for calling the LabelArrayTestCase obj's underlying member method code with example usage: obj.test_setitem_array() without return types