@@ -230,7 +230,6 @@ def test_irfftn(self, xp):
230
230
for norm in ["backward" , "ortho" , "forward" ]:
231
231
xp_assert_close (fft .irfftn (fft .rfftn (x , norm = norm ), norm = norm ), x )
232
232
233
- @pytest .mark .skip ("hfft is not supported" )
234
233
def test_hfft (self , xp ):
235
234
x = random (14 ) + 1j * random (14 )
236
235
x_herm = np .concatenate ((random (1 ), x , random (1 )))
@@ -246,7 +245,6 @@ def test_hfft(self, xp):
246
245
)
247
246
xp_assert_close (fft .hfft (x_herm , norm = "forward" ), expect / 30 )
248
247
249
- @pytest .mark .skip ("ihfft is not supported" )
250
248
def test_ihfft (self , xp ):
251
249
x = random (14 ) + 1j * random (14 )
252
250
x_herm = np .concatenate ((random (1 ), x , random (1 )))
@@ -259,14 +257,12 @@ def test_ihfft(self, xp):
259
257
fft .ihfft (fft .hfft (x_herm , norm = norm ), norm = norm ), x_herm
260
258
)
261
259
262
- @pytest .mark .skip ("hfft2 is not supported" )
263
260
def test_hfft2 (self , xp ):
264
261
x = xp .asarray (random ((30 , 20 )))
265
262
xp_assert_close (fft .hfft2 (fft .ihfft2 (x )), x )
266
263
for norm in ["backward" , "ortho" , "forward" ]:
267
264
xp_assert_close (fft .hfft2 (fft .ihfft2 (x , norm = norm ), norm = norm ), x )
268
265
269
- @pytest .mark .skip ("ihfft2 is not supported" )
270
266
def test_ihfft2 (self , xp ):
271
267
x = xp .asarray (random ((30 , 20 )), dtype = xp .float64 )
272
268
expect = fft .ifft2 (xp .asarray (x , dtype = xp .complex128 ))[:, :11 ]
@@ -278,14 +274,12 @@ def test_ihfft2(self, xp):
278
274
)
279
275
xp_assert_close (fft .ihfft2 (x , norm = "forward" ), expect * (30 * 20 ))
280
276
281
- @pytest .mark .skip ("hfftn is not supported" )
282
277
def test_hfftn (self , xp ):
283
278
x = xp .asarray (random ((30 , 20 , 10 )))
284
279
xp_assert_close (fft .hfftn (fft .ihfftn (x )), x )
285
280
for norm in ["backward" , "ortho" , "forward" ]:
286
281
xp_assert_close (fft .hfftn (fft .ihfftn (x , norm = norm ), norm = norm ), x )
287
282
288
- @pytest .mark .skip ("ihfftn is not supported" )
289
283
def test_ihfftn (self , xp ):
290
284
x = xp .asarray (random ((30 , 20 , 10 )), dtype = xp .float64 )
291
285
expect = fft .ifftn (xp .asarray (x , dtype = xp .complex128 ))[:, :, :6 ]
0 commit comments