code: def setup_class(cls):
      G = nx.DiGraph()
  
      edges = [(1, 3), (1, 5), (2, 1), (3, 5), (5, 4), (5, 3), (6, 5)]
  
      G.add_edges_from(edges, weight=1)
      cls.G = G
      cls.G.a = dict(
          zip(
              sorted(G),
              [
                  0.000000,
                  0.000000,
                  0.366025,
                  0.133975,
                  0.500000,
                  0.000000,
              ],
          )
      )
      cls.G.h = dict(
          zip(
              sorted(G),
              [
                  0.366025,
                  0.000000,
                  0.211325,
                  0.000000,
                  0.211325,
                  0.211325,
              ],
          )
      )
  
file_path: networkx/networkx/algorithms/link_analysis/tests/test_hits.py
imports: import pytest
  import networkx
  from networkx.algorithms.link_analysis.hits_alg import _hits_numpy, _hits_python, _hits_scipy
label_desc: Use image node_id 1 for calling the TestHITS obj's underlying member method code with example usage: obj.setup_class(cls) without return types