code: def test_inverse_unique_roots_different_rtypes_2(
      self, xp, scp, rtype
  ):
      # This test was inspired by github issue 2496.
      r = xp.asarray([3 / 10, -1 / 6, -2 / 15])
      p = xp.asarray([0, -2, -5])
      k = xp.asarray([])
  
      b, a = scp.signal.invresz(r, p, k, rtype=rtype)
      return b, a
  
imports: import numpy
  import pytest
  import cupy
  from cupy import testing
  import cupyx.scipy.signal
label_desc: Use image node_id 10 for calling the TestPartialFractionExpansion obj's underlying member method code with example usage: obj.test_inverse_unique_roots_different_rtypes_2(xp, scp, rtype) and returns: b,  a