docstr: Weighted betweenness centrality: K5
docstr_tok: ["Weighted","betweenness","centrality",":","K5"]
code: def test_K5(self):
      """Weighted betweenness centrality: K5"""
      G = nx.complete_graph(5)
      b = nx.betweenness_centrality(
          G, weight="weight", normalized=False
      )
      b_answer = {0: 0.0, 1: 0.0, 2: 0.0, 3: 0.0, 4: 0.0}
      for n in sorted(G):
          assert b[n] == pytest.approx(b_answer[n], abs=1e-7)
  
imports: import pytest
  import networkx
label_desc: Use image node_id 1 for calling the TestWeightedBetweennessCentrality obj's underlying member method code with example usage: obj.test_K5() without return types