code: def test_ifftn(self, xp):
      x = xp.asarray(random((30, 20, 10)) + 1j * random((30, 20, 10)))
      expect = fft.ifft(fft.ifft(fft.ifft(x, axis=2), axis=1), axis=0)
      xp_assert_close(fft.ifftn(x), expect)
      xp_assert_close(fft.ifftn(x, norm="backward"), expect)
      xp_assert_close(
          fft.ifftn(x, norm="ortho"),
          fft.ifftn(x)
          * xp.sqrt(xp.asarray(30 * 20 * 10, dtype=xp.float64)),
      )
      xp_assert_close(
          fft.ifftn(x, norm="forward"), expect * (30 * 20 * 10)
      )
  
imports: import queue
  import threading
  import multiprocessing
  import numpy
  import pytest
  from numpy.random import random
  from numpy.testing import assert_array_almost_equal, assert_allclose
  from pytest import raises
  import scipy.fft
  from scipy.conftest import array_api_compatible, skip_if_array_api_backend
  from scipy._lib._array_api import array_namespace, size, xp_assert_close, xp_assert_equal
label_desc: Use image node_id 7 for calling the TestFFT1D obj's underlying member method code with example usage: obj.test_ifftn(xp) without return types