code: def _make_random_matrices(self, shape, xp):
      a = testing.shaped_random(shape, xp, dtype=self.r_dtype, scale=1)
      if self.dtype.char in "FD":
          a = a + 1j * testing.shaped_random(
              shape, xp, dtype=self.r_dtype, scale=1
          )
      return a
  
imports: import numpy
  import pytest
  import cupy
  from cupy import cublas
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestBatchedGesv obj's underlying member method code with example usage: obj._make_random_matrices(shape, xp) and returns: a