code: def test_ifft(self, norm):
      x = random(30) + 1j * random(30)
      assert_allclose(
          x, np.fft.ifft(np.fft.fft(x, norm=norm), norm=norm), atol=1e-6
      )
  
      # Ensure we get the correct error message
      # NB: Exact wording differs slightly under Dynamo and in eager.
      with pytest.raises(
          (ValueError, RuntimeError), match="Invalid number of"
      ):
          np.fft.ifft([], norm=norm)
  
imports: import functools
  import queue
  import threading
  from unittest import skipIf, SkipTest
  import pytest
  from pytest import raises
  from torch.testing._internal.common_utils import instantiate_parametrized_tests, parametrize, run_tests, TEST_WITH_TORCHDYNAMO, TestCase
label_desc: Use image node_id 4 for calling the TestFFT1D obj's underlying member method code with example usage: obj.test_ifft(norm) without return types