def test_P4(self):
        G=nx.path_graph(4)
        b=nx.edge_betweenness_centrality(G, weight='weight', normalized=False)
        b_answer={(0, 1):3,(1, 2):4, (2, 3):3}
        for n in sorted(G.edges()):
            assert_almost_equal(b[n],b_answer[n])
Default handling of HEAD method.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/algorithms/centrality/tests/test_betweenness_centrality.py/TestWeightedEdgeBetweennessCentrality.test_P4--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/web/resource.py/Resource.render_HEAD