code: def test_not_last_axis_success(self):
      ar, ai = np.random.random((2, 16, 8, 32))
      a = ar + 1j * ai
  
      axes = (-2,)
  
      # Should not raise error
      fft.irfftn(a, axes=axes)
  
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_array_equal, assert_allclose
  from pytest import raises
  import scipy.fft
label_desc: Use image node_id 1 for calling the TestIRFFTN obj's underlying member method code with example usage: obj.test_not_last_axis_success() without return types