code: def test_sparse_formats():
      for fmt in ("csr", "csc", "coo", "lil", "dok", "dia", "bsr"):
          mat = sparse.diags([1, 1], [-1, 1], shape=(4, 4), format=fmt)
          for normed in True, False:
              _check_symmetric_graph_laplacian(mat, normed)
  
file_path: catboost/contrib/python/scipy/py3/scipy/sparse/csgraph/tests/test_graph_laplacian.py
imports: import numpy
  from numpy.testing import assert_allclose, assert_array_almost_equal
  from pytest import raises
  from scipy import sparse
  from scipy.sparse import csgraph
label_desc: Use image node_id 8 for calling a global function with example usage: test_sparse_formats() without return types