docstr: ...Test sum method of arrays
docstr_tok: ["...","Test","sum","method","of","arrays"]
code: def test_norm_sq(self):
      """...Test sum method of arrays"""
      for array_type in self.array_types:
          test_func = getattr(test, "test_norm_sq_%s" % array_type)
          test_arrays = self._test_arrays(array_type)
          for test_array in test_arrays:
              # We need this as we cannot take norm of sparse matrix
              norm_array = Test.cast_array_to_dense(test_array)
  
              # Then we compare that the norm value is correct
              self.assertAlmostEqual(
                  test_func(test_array), norm(norm_array) ** 2
              )
  
imports: import unittest
  import numpy
  from numpy.linalg import norm
  from tick.array_test.build import array_test
  from scipy.sparse import csr_matrix
  import itertools
label_desc: Use image node_id 27 for calling the Test obj's underlying member method code with example usage: obj.test_norm_sq() without return types