code: def test_bidirectional_dijkstra_no_path(self):
      with pytest.raises(nx.NetworkXNoPath):
          G = nx.Graph()
          nx.add_path(G, [1, 2, 3])
          nx.add_path(G, [4, 5, 6])
          path = nx.bidirectional_dijkstra(G, 1, 6)
  
imports: import pytest
  import networkx
  from networkx.utils import pairwise
label_desc: Use image node_id 4 for calling the TestWeightedPath obj's underlying member method code with example usage: obj.test_bidirectional_dijkstra_no_path() without return types