class_docstr: Unit tests for the local_bridge function.
code: def test_no_weight(self):
      inf = float("inf")
      expected = {(3, 4, inf), (4, 3, inf)}
      assert next(nx.local_bridges(self.BB)) in expected
      expected = {(u, v, 3) for u, v in self.square.edges}
      assert set(nx.local_bridges(self.square)) == expected
      assert list(nx.local_bridges(self.tri)) == []
  
file_path: networkx/networkx/algorithms/tests/test_bridges.py
imports: import pytest
  import networkx
label_desc: Use image node_id 3 for calling the TestLocalBridges obj's underlying member method code with example usage: obj.test_no_weight() without return types