code: def test_ticket1876():
      # Regression test: this failed in the original implementation
      # There should be two strongly-connected components; previously gave one
      g = np.array(
          [[0, 1, 1, 0], [1, 0, 0, 1], [0, 0, 0, 1], [0, 0, 1, 0]]
      )
      n_components, labels = csgraph.connected_components(
          g, connection="strong"
      )
  
      assert_equal(n_components, 2)
      assert_equal(labels[0], labels[1])
      assert_equal(labels[2], labels[3])
  
file_path: catboost/contrib/python/scipy/py2/scipy/sparse/csgraph/tests/test_connected_components.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_equal, assert_array_almost_equal
  from scipy.sparse import csgraph
label_desc: Use image node_id 5 for calling a global function with example usage: test_ticket1876() without return types