code: def _get_arg(self, xp, arg):
      if isinstance(arg, tuple):
          # Allocate array with the given shape
          return testing.shaped_random(arg, xp)
  
      # Otherwise just pass the arg back
      return arg
  
file_path: cupy/tests/cupyx_tests/scipy_tests/linalg_tests/test_special_matrices.py
imports: import unittest
  from cupy import testing
  import cupyx.scipy.linalg
label_desc: Use image node_id 2 for calling the TestSpecialMatrices_1_3_0 obj's underlying member method code with example usage: obj._get_arg(xp, arg) and returns: arg, testing