

def test_star_like(self):
    G = nx.star_graph(2)
    G.add_edge(1, 2)
    assert_almost_equal(sb(G), 0.843, places=3)
    G = nx.star_graph(3)
    G.add_edge(1, 2)
    assert_almost_equal(sb(self), 0.871, places=3)
    G = nx.star_graph(4)
    G.add_edge(1, 2)
    assert_almost_equal(sb(G), 0.89, places=3)

dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/algorithms/bipartite/tests/test_spectral_bipartivity.py TestSpectralBipartivity.test_star_like/VarMisuse@64/76 `G`->`self`