code: def test_fully_connected_graph():
      # Fully connected dense matrices raised an exception.
      # https://github.com/scipy/scipy/issues/3818
      g = np.ones((4, 4))
      n_components, labels = csgraph.connected_components(g)
      assert_equal(n_components, 1)
  
file_path: scipy/scipy/sparse/csgraph/tests/test_connected_components.py
imports: import numpy
  from numpy.testing import assert_equal, assert_array_almost_equal
  from scipy.sparse import csgraph, csr_array
label_desc: Use image node_id 6 for calling a global function with example usage: test_fully_connected_graph() without return types