code: def test_source_target_not_in_graph(self):
      G = nx.Graph()
      G.add_weighted_edges_from(
          [(0, 1, 1), (1, 2, 1), (2, 3, 1)], weight="capacity"
      )
      G.remove_node(0)
      for flow_func in all_funcs:
          pytest.raises(nx.NetworkXError, flow_func, G, 0, 3)
      G.add_weighted_edges_from(
          [(0, 1, 1), (1, 2, 1), (2, 3, 1)], weight="capacity"
      )
      G.remove_node(3)
      for flow_func in all_funcs:
          pytest.raises(nx.NetworkXError, flow_func, G, 0, 3)
  
imports: import pytest
  import networkx
  from networkx.algorithms.flow import boykov_kolmogorov, build_flow_dict, build_residual_network, dinitz, edmonds_karp, preflow_push, shortest_augmenting_path
label_desc: Use image node_id 14 for calling the TestMaxflowMinCutCommon obj's underlying member method code with example usage: obj.test_source_target_not_in_graph() without return types