code: def assert_components_edges_equal(x, y):
      sx = {frozenset(frozenset(e) for e in c) for c in x}
      sy = {frozenset(frozenset(e) for e in c) for c in y}
      assert sx == sy
  
file_path: networkx/networkx/algorithms/components/tests/test_biconnected.py
imports: import pytest
  import networkx
  from networkx import NetworkXNotImplemented
label_desc: Use image node_id 1 for calling a global function with example usage: assert_components_edges_equal(x, y) without return types