code: def test_pdist_(self, xp, scp):
      a = self._make_matrix(xp, self.dtype, self.order)
      out = scp.spatial.distance.pdist(a).astype(self.dtype)
      return out
  
imports: import unittest
  import pytest
  import numpy
  import cupy
  import cupyx.scipy.spatial.distance
  from cupy import testing
label_desc: Use image node_id 2 for calling the TestPdist obj's underlying member method code with example usage: obj.test_pdist_(xp, scp) and returns: out