code: def test_kosaraju(self):
      scc = nx.kosaraju_strongly_connected_components
      for G, C in self.gc:
          assert {frozenset(g) for g in scc(G)} == C
  
file_path: networkx/networkx/algorithms/components/tests/test_strongly_connected.py
imports: import pytest
  import networkx
  from networkx import NetworkXNotImplemented
label_desc: Use image node_id 4 for calling the TestStronglyConnected obj's underlying member method code with example usage: obj.test_kosaraju() without return types