code: def test_exception_multigraph():
      G = nx.path_graph(4, create_using=nx.MultiGraph)
      G.add_edge(1, 2)
      with pytest.raises(nx.NetworkXNotImplemented):
          nx.to_latex(G)
  
file_path: networkx/networkx/drawing/tests/test_latex.py
imports: import pytest
  import networkx
label_desc: Use image node_id 6 for calling a global function with example usage: test_exception_multigraph() without return types