'Test that the ego graph is used when computing local efficiency.
For more information, see GitHub issue #2233.'

def test_using_ego_graph(self):

    G = nx.lollipop_graph(3, 1)
    assert_equal(nx.local_efficiency(G), (23 / 24))
