class_docstr: Unit tests for the :func:`~networkx.cut_size` function.
class_docstr_tok: ["Unit","tests","for","the",":","func",":","`","~networkx.cut_size","`","function","."]
docstr: Tests that parallel edges are each counted for a cut.
docstr_tok: ["Tests","that","parallel","edges","are","each","counted","for","a","cut","."]
code: def test_multigraph(self):
      """Tests that parallel edges are each counted for a cut."""
      G = nx.MultiGraph(["ab", "ab"])
      assert nx.cut_size(G, {"a"}, {"b"}) == 2
  
imports: import networkx
label_desc: Use image node_id 5 for calling the TestCutSize obj's underlying member method code with example usage: obj.test_multigraph() without return types