code: def test_trivial_function(self):
      def do_not_call(x):
          raise ArgmapError("do not call this function")
  
      @argmap(do_not_call)
      def trivial_argmap():
          return 1
  
      assert trivial_argmap() == 1
  
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 1 for calling the TestArgmap obj's underlying member method code with example usage: obj.test_trivial_function() and returns: int