class_docstr: Unit tests for the Voronoi cells function.
class_docstr_tok: ["Unit","tests","for","the","Voronoi","cells","function","."]
code: def test_multigraph_weighted(self):
      edges = [
          (0, 1, 10),
          (0, 1, 10),
          (1, 2, 1),
          (1, 2, 100),
          (2, 3, 1),
          (2, 3, 100),
      ]
      G = nx.MultiGraph()
      G.add_weighted_edges_from(edges)
      cells = nx.voronoi_cells(G, {0, 3})
      expected = {0: {0}, 3: {1, 2, 3}}
      assert expected == cells
  
file_path: networkx/networkx/algorithms/tests/test_voronoi.py
imports: import networkx
  from networkx.utils import pairwise
label_desc: Use image node_id 9 for calling the TestVoronoiCells obj's underlying member method code with example usage: obj.test_multigraph_weighted() without return types