docstr: ...Test serialization of 2d sparse array is done as expected
          
docstr_tok: ["...","Test","serialization","of","2d","sparse","array","is","done","as","expected"]
code: def test_serialize_sparse_2d_array(self):
      """...Test serialization of 2d sparse array is done as expected"""
      array = sparse.rand(10, 10, density=0.3, format="csr").astype(
          self.dtype
      )
      serialize_array(array, self.array_file)
  
      serialized_array = load_array(
          self.array_file,
          array_dim=2,
          array_type="sparse",
          dtype=self.dtype,
      )
      np.testing.assert_array_almost_equal(
          array.toarray(), serialized_array.toarray()
      )
  
      # python 3.5 has show to required this - investigate typemappers
      gc.collect()
  
imports: import os
  import unittest
  import uuid
  import gc
  from scipy import sparse
  import numpy
  from tick.array.serialize import serialize_array, load_array
label_desc: Use image node_id 6 for calling the Test obj's underlying member method code with example usage: obj.test_serialize_sparse_2d_array() without return types