code: def test_selfloops(self):
      self.G.add_edge(1, 1)
      cl = list(nx.find_cliques(self.G))
      rcl = list(nx.find_cliques_recursive(self.G))
      assert set(map(frozenset, cl)) == set(map(frozenset, rcl))
      answer = [{2, 6, 1, 3}, {2, 6, 4}, {5, 4, 7}, {8, 9}, {10, 11}]
      assert len(answer) == len(cl)
      assert all(set(c) in answer for c in cl)
  
file_path: networkx/networkx/algorithms/tests/test_clique.py
imports: import pytest
  import networkx
  from networkx import convert_node_labels_to_integers
label_desc: Use image node_id 3 for calling the TestCliques obj's underlying member method code with example usage: obj.test_selfloops() without return types