def METHOD_NAME(self):
    """Test 2D input, which has uneven dimension sizes"""
    freqs = [[0, 1], [2, 3], [4, 5]]
    # shift in dimension 0
    shift_dim0 = [[4, 5], [0, 1], [2, 3]]
    assert_array_almost_equal(fft.fftshift(freqs, axes=0), shift_dim0)
    assert_array_almost_equal(fft.ifftshift(shift_dim0, axes=0), freqs)
    assert_array_almost_equal(fft.fftshift(freqs, axes=(0,)), shift_dim0)
    assert_array_almost_equal(fft.ifftshift(shift_dim0, axes=[0]), freqs)
    # shift in dimension 1
    shift_dim1 = [[1, 0], [3, 2], [5, 4]]
    assert_array_almost_equal(fft.fftshift(freqs, axes=1), shift_dim1)
    assert_array_almost_equal(fft.ifftshift(shift_dim1, axes=1), freqs)
    # shift in both dimensions
    shift_dim_both = [[5, 4], [1, 0], [3, 2]]
    assert_array_almost_equal(fft.fftshift(freqs, axes=(0, 1)), shift_dim_both)
    assert_array_almost_equal(fft.ifftshift(shift_dim_both, axes=(0, 1)), freqs)
    assert_array_almost_equal(fft.fftshift(freqs, axes=[0, 1]), shift_dim_both)
    assert_array_almost_equal(fft.ifftshift(shift_dim_both, axes=[0, 1]), freqs)
    # axes=None (default) shift in all dimensions
    assert_array_almost_equal(fft.fftshift(freqs, axes=None), shift_dim_both)
    assert_array_almost_equal(fft.ifftshift(shift_dim_both, axes=None), freqs)
    assert_array_almost_equal(fft.fftshift(freqs), shift_dim_both)
    assert_array_almost_equal(fft.ifftshift(shift_dim_both), freqs)