docstr: Edge betweenness subset centrality: box and path multiple target
docstr_tok: ["Edge","betweenness","subset","centrality",":","box","and","path","multiple","target"]
code: def test_box_and_path2(self):
      """Edge betweenness subset centrality: box and path multiple target"""
      G = nx.Graph()
      G.add_edges_from(
          [(0, 1), (1, 2), (2, 3), (1, 20), (20, 3), (3, 4)]
      )
      b_answer = dict.fromkeys(G.edges(), 0)
      b_answer[(0, 1)] = 1.0
      b_answer[(1, 20)] = b_answer[(3, 20)] = 0.5
      b_answer[(1, 2)] = b_answer[(2, 3)] = 0.5
      b_answer[(3, 4)] = 0.5
      b = nx.edge_betweenness_centrality_subset(
          G, sources=[0], targets=[3, 4], weight=None
      )
      for n in sorted(G.edges()):
          assert b[n] == pytest.approx(b_answer[n], abs=1e-7)
  
imports: import pytest
  import networkx
label_desc: Use image node_id 7 for calling the TestEdgeSubsetBetweennessCentrality obj's underlying member method code with example usage: obj.test_box_and_path2() without return types