@attr('numpy')
    def test_empty(self):
        try:
            import numpy
        except __HOLE__:
            raise SkipTest('numpy not available.')
        G=networkx.Graph()
        assert_equal(networkx.hits(G),({},{}))
        assert_equal(networkx.hits_numpy(G),({},{}))
        assert_equal(networkx.authority_matrix(G).shape,(0,0))
        assert_equal(networkx.hub_matrix(G).shape,(0,0))
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/algorithms/link_analysis/tests/test_hits.py/TestHITS.test_empty