class_docstr: Unit tests for the :func:`~networkx.volume` function.
class_docstr_tok: ["Unit","tests","for","the",":","func",":","`","~networkx.volume","`","function","."]
code: def test_multigraph(self):
      edges = list(nx.cycle_graph(4).edges())
      G = nx.MultiGraph(edges * 2)
      assert nx.volume(G, {0, 1}) == 8
  
imports: import networkx
label_desc: Use image node_id 3 for calling the TestVolume obj's underlying member method code with example usage: obj.test_multigraph() without return types