'fft returns wrong result with axes parameter.'

def test_regression_244(self):

    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)
