code: def test_nested_tuple(self):
      def xform(x, y):
          u, v = y
          return x + u + v, (x + u, x + v)
  
      # we're testing args and kwargs here, too
      @argmap(xform, (0, ("t", 2)))
      def foo(a, *args, **kwargs):
          return a, args, kwargs
  
      a, args, kwargs = foo(1, 2, 3, t=4)
  
      assert a == 1 + 4 + 3
      assert args == (2, 1 + 3)
      assert kwargs == {"t": 1 + 4}
  
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 8 for calling the TestArgmap obj's underlying member method code with example usage: obj.test_nested_tuple() and returns: unknown,  unknown,  unknown, a,  args,  kwargs