code: def test_noncontiguous_view(self, dtype):
      a = testing.shaped_random(self.shape, cupy, dtype)
      if self.data_order == "F":
          a = cupy.asfortranarray(a)
          sl = numpy.s_[..., ::2]
      else:
          sl = numpy.s_[::2, ...]
  
      # transform a non-contiguous view without pre-planning
      view = a[sl]
      expected = cupyx.scipy.fftpack.fftn(view)
  
      # create plan and then apply it to a non-contiguous view
      plan = cupyx.scipy.fftpack.get_fft_plan(view.copy())
      with plan:
          out = cupyx.scipy.fftpack.fftn(view)
      testing.assert_allclose(expected, out)
  
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 TestFftnView obj's underlying member method code with example usage: obj.test_noncontiguous_view(dtype) without return types