class_docstr: Unit tests for the :func:`~networkx.edge_boundary` function.
class_docstr_tok: ["Unit","tests","for","the",":","func",":","`","~networkx.edge_boundary","`","function","."]
docstr: Tests the edge boundary of a multidigraph.
docstr_tok: ["Tests","the","edge","boundary","of","a","multidigraph","."]
code: def test_multidigraph(self):
      """Tests the edge boundary of a multidigraph."""
      edges = [(0, 1), (1, 2), (2, 3), (3, 4), (4, 0)]
      G = nx.MultiDiGraph(edges * 2)
      S = {0, 1}
      boundary = list(nx.edge_boundary(G, S))
      expected = [(1, 2), (1, 2)]
      assert boundary == expected
  
imports: from itertools import combinations
  import pytest
  import networkx
  from networkx import convert_node_labels_to_integers
  from networkx.utils import edges_equal
label_desc: Use image node_id 6 for calling the TestEdgeBoundary obj's underlying member method code with example usage: obj.test_multidigraph() without return types