code: def test_bidirectional_shortest_path_src_tgt_not_in_graph(
      self, src, tgt
  ):
      with pytest.raises(
          nx.NodeNotFound,
          match=f"Either source {src} or target {tgt} is not in G",
      ):
          nx.bidirectional_shortest_path(self.cycle, src, tgt)
  
file_path: networkx/networkx/algorithms/shortest_paths/tests/test_unweighted.py
imports: import pytest
  import networkx
label_desc: Use image node_id 3 for calling the TestUnweightedPath obj's underlying member method code with example usage: obj.test_bidirectional_shortest_path_src_tgt_not_in_graph(src, tgt) without return types