def test_regression_244(self):
        # fftn (and hence fft2) used to break when both axes and shape were
        # used
        x = numpy.ones((4,4,2))
        y = fft2(x, shape=(8,8), axes=(-3,-2))
        y_r = numpy.fft.fftn(x, s=(8, 8), axes=(-3, -2))
        assert_array_almost_equal(y, y_r)
fft returns wrong result with axes parameter.
dataset/ETHPy150Open scipy/scipy/scipy/fftpack/tests/test_basic.py/Testfft2.test_regression_244