code: def test_rfft_overwrite(self, xp, scp, dtype):
      x = testing.shaped_random(self.shape, xp, dtype)
      return scp.fftpack.rfft(
          x, n=self.n, axis=self.axis, overwrite_x=True
      )
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
  import cupyx.scipy.fftpack
  from cupy.fft._fft import _default_fft_func, _fftn
label_desc: Use image node_id 2 for calling the TestRfft obj's underlying member method code with example usage: obj.test_rfft_overwrite(xp, scp, dtype) and returns: scp