code: def test_intersection_all_digraph():
      g = nx.DiGraph()
      g.add_edges_from([(1, 2), (2, 3)])
      h = nx.DiGraph()
      h.add_edges_from([(2, 1), (2, 3)])
      gh = nx.intersection_all([g, h])
      assert sorted(gh.edges()) == [(2, 3)]
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal
label_desc: Use image node_id 8 for calling a global function with example usage: test_intersection_all_digraph() without return types