code: def setup_class(cls):
      cls.P4 = nx.path_graph(4)
      cls.K3 = nx.complete_bipartite_graph(3, 3)
      cls.C4 = nx.cycle_graph(4)
      cls.davis = nx.davis_southern_women_graph()
      cls.top_nodes = [
          n
          for n, d in cls.davis.nodes(data=True)
          if d["bipartite"] == 0
      ]
  
file_path: networkx/networkx/algorithms/bipartite/tests/test_centrality.py
imports: import pytest
  import networkx
  from networkx.algorithms import bipartite
label_desc: Use image node_id 1 for calling the TestBipartiteCentrality obj's underlying member method code with example usage: obj.setup_class(cls) without return types