code: def test_laplacian_value_error():
      for t in int, float, complex:
          for m in (
              [1, 1],
              [[[1]]],
              [[1, 2, 3], [4, 5, 6]],
              [[1, 2], [3, 4], [5, 5]],
          ):
              A = np.array(m, dtype=t)
              assert_raises(ValueError, csgraph.laplacian, A)
  
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 3 for calling a global function with example usage: test_laplacian_value_error() without return types