docstr: Test that the ego graph is used when computing local efficiency.
  For more information, see GitHub issue #2710.
docstr_tok: ["Test","that","the","ego","graph","is","used","when","computing","local","efficiency",".","For","more","information",",","see","GitHub","issue","#","2710","."]
code: def test_using_ego_graph(self):
      """
      Test that the ego graph is used when computing local efficiency.
      For more information, see GitHub issue #2710.
      """
      assert nx.local_efficiency(self.G3) == 7 / 12
  
file_path: networkx/networkx/algorithms/tests/test_efficiency.py
imports: import networkx
label_desc: Use image node_id 8 for calling the TestEfficiency obj's underlying member method code with example usage: obj.test_using_ego_graph() without return types