docstr: Weighted betweenness centrality: Krackhardt kite graph
docstr_tok: ["Weighted","betweenness","centrality",":","Krackhardt","kite","graph"]
code: def test_krackhardt_kite_graph(self):
      """Weighted betweenness centrality: Krackhardt kite graph"""
      G = nx.krackhardt_kite_graph()
      b_answer = {
          0: 1.667,
          1: 1.667,
          2: 0.000,
          3: 7.333,
          4: 0.000,
          5: 16.667,
          6: 16.667,
          7: 28.000,
          8: 16.000,
          9: 0.000,
      }
      for b in b_answer:
          b_answer[b] /= 2
  
      b = nx.betweenness_centrality(
          G, weight="weight", normalized=False
      )
  
      for n in sorted(G):
          assert b[n] == pytest.approx(b_answer[n], abs=1e-3)
  
imports: import pytest
  import networkx
label_desc: Use image node_id 4 for calling the TestWeightedBetweennessCentrality obj's underlying member method code with example usage: obj.test_krackhardt_kite_graph() without return types