code: def test_graphs_type_exceptions():
      G = nx.Graph()
      pytest.raises(nx.NetworkXNotImplemented, nx.network_simplex, G)
      G = nx.MultiGraph()
      pytest.raises(nx.NetworkXNotImplemented, nx.network_simplex, G)
      G = nx.DiGraph()
      pytest.raises(nx.NetworkXError, nx.network_simplex, G)
  
imports: import bz2
  import importlib.resources
  import os
  import pickle
  import pytest
  import networkx
label_desc: Use image node_id 25 for calling a global function with example usage: test_graphs_type_exceptions() without return types