code: def test_overwrite_x_with_contiguous_view(self, dtype):
      # Test case for: https://github.com/cupy/cupy/issues/3079
      a = testing.shaped_random(self.shape, cupy, dtype)
      if self.data_order == "C":
          # C-contiguous view
          b = a[: a.shape[0] // 2, ...]
      else:
          # F-contiguous view
          a = cupy.asfortranarray(a)
          b = a[..., : a.shape[-1] // 2]
      b_ptr = b.data.ptr
      out = cupyx.scipy.fftpack.fftn(b, overwrite_x=True)
      assert out.data.ptr == b_ptr
  
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 3 for calling the TestFftnView obj's underlying member method code with example usage: obj.test_overwrite_x_with_contiguous_view(dtype) without return types