def test_hits_scipy(self):
        try:
            import scipy as sp
        except __HOLE__:
            raise SkipTest('SciPy not available.')

        G=self.G
        h,a=networkx.hits_scipy(G,tol=1.e-08)
        for n in G:
            assert_almost_equal(h[n],G.h[n],places=4)
        for n in G:
            assert_almost_equal(a[n],G.a[n],places=4)
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/algorithms/link_analysis/tests/test_hits.py/TestHITS.test_hits_scipy