code: def test_multigraphs_raise(self):
      G = nx.MultiGraph()
      M = nx.MultiDiGraph()
      G.add_edges_from([(0, 1), (1, 0)], capacity=True)
      for flow_func in all_funcs:
          pytest.raises(nx.NetworkXError, flow_func, G, 0, 0)
  
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 16 for calling the TestMaxflowMinCutCommon obj's underlying member method code with example usage: obj.test_multigraphs_raise() without return types