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