code: def test_intersection_all_multigraph_attributes_different_node_sets():
      g = nx.MultiGraph()
      g.add_edge(0, 1, key=0)
      g.add_edge(0, 1, key=1)
      g.add_edge(0, 1, key=2)
      g.add_edge(1, 2, key=1)
      g.add_edge(1, 2, key=2)
      h = nx.MultiGraph()
      h.add_edge(0, 1, key=0)
      h.add_edge(0, 1, key=2)
      h.add_edge(0, 1, key=3)
      gh = nx.intersection_all([g, h])
      assert set(gh.nodes()) == set(h.nodes())
      assert sorted(gh.edges()) == [(0, 1), (0, 1)]
      assert sorted(gh.edges(keys=True)) == [(0, 1, 0), (0, 1, 2)]
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_intersection_all_multigraph_attributes_different_node_sets() without return types