code: def assert_labels_equal(x, y):
      if isinstance(x, csr_matrix) and isinstance(y, csr_matrix):
          assert_csr_matrix_equal(x, y)
      else:
          assert_array_equal(x, y)
  
file_path: small-text/tests/utils/testing.py
imports: import numpy
  from scipy.sparse import csr_matrix
  from numpy.testing import assert_array_equal, assert_raises
label_desc: Use image node_id 4 for calling a global function with example usage: assert_labels_equal(x, y) without return types