code: def test_not_implemented_decorator_raise():
      with pytest.raises(nx.NetworkXNotImplemented):
  
          @not_implemented_for("graph")
          def test1(G):
              pass
  
          test1(nx.Graph())
  
imports: import os
  import pathlib
  import random
  import tempfile
  import pytest
  import networkx
  from networkx.utils.decorators import argmap, not_implemented_for, np_random_state, open_file, py_random_state
  from networkx.utils.misc import PythonRandomInterface
label_desc: Use image node_id 3 for calling a global function with example usage: test_not_implemented_decorator_raise() without return types